Commit 856e8805 authored by Carsten Eie Frigaard's avatar Carsten Eie Frigaard
Browse files


parent 88306873
......@@ -157,7 +157,7 @@ def AssertInRange(x, expected, eps=1E-9, autoconverttofloat=True, verbose=0):
norm = np.linalg.norm(x)
if verbose>2:
AssertInRange(norm, exected, eps, autoconvert, verbose)
AssertInRange(norm, expected, eps, autoconverttofloat, verbose)
assert eps>=0, "eps is less than zero"
if autoconverttofloat and (not isFloat(x) or not isFloat(expected) or not isFloat(eps)):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment