Verified Commit ebec456e authored by Tobias WEBER's avatar Tobias WEBER
Browse files

cov: catch type error

parent 773ddcaf
......@@ -17,9 +17,12 @@ except ImportError:
exit(-1)
np.set_printoptions(
floatmode = "fixed",
precision = 4)
try:
np.set_printoptions(
precision = 4,
floatmode = "fixed")
except TypeError:
print("Warning: Numpy print options could not be set.")
options = {
......
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