[instancer] Add assertion
This commit is contained in:
parent
8ca0dab0c0
commit
d611c1519e
@ -110,6 +110,8 @@ def rebaseTent(tent, axisLimit):
|
||||
lower, peak, upper = tent
|
||||
assert -2 <= lower <= peak <= upper <= +2
|
||||
|
||||
assert peak != 0
|
||||
|
||||
# Get the pinned case out of the way
|
||||
if axisMin == axisMax:
|
||||
return _solvePinned(tent, axisLimit)
|
||||
|
Loading…
x
Reference in New Issue
Block a user