Skip to content
Snippets Groups Projects
Commit a7685fe9 authored by Robert K's avatar Robert K
Browse files

[bugfix][createLimiter] Correct check for type of bounds.

parent 3099c917
No related branches found
No related tags found
No related merge requests found
Pipeline #75427 passed
......@@ -58,7 +58,7 @@ def createLimiter(domainSpace, rangeSpace=None,
newBounds = [None]*domainSpace.dimRange
newBounds[-1] = bounds
bounds = newBounds
else:
elif not isinstance(bounds, (list,tuple)):
raise Exception("createLimiter: bounds needs to be an instance of either list or tuple.")
# obtain limited component numbers and corresponding bounds
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment