Skip to content
Snippets Groups Projects
Commit 33fd3fcc authored by Ivan Kondov's avatar Ivan Kondov
Browse files

check the prec parameter is defined

parent f6b58a04
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,7 @@ class Morse(PhysicalSystem):
isclose = np.isclose
times = np.array(times, dtype=np.float)
else:
assert self.prec is not None, '"prec" parameter not defined'
from sympy import exp, sqrt, sign
from sympy import acos as arccos
from sympy import acosh as arccosh
......
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