Skip to content
Snippets Groups Projects
Commit f97bcb27 authored by Hu Zhao's avatar Hu Zhao
Browse files

Merge branch 'main' of git-ce.rwth-aachen.de:mbd/psimpy into main

parents b9f4a743 1d4bfbe7
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ from psimpy.utility import check_bounds
_min_float = 10**(sys.float_info.min_10_exp)
_max_float = 10**(sys.float_info.max_10_exp)
_max_e = np.log(np.array(_max_float, dtype=np.float128))
_max_e = np.log(np.array(_max_float, dtype=float))
class BayesInferenceBase(ABC):
......
......@@ -47,6 +47,6 @@ def test_run_mass_point_model():
assert len(serial_output) == len(parallel_output)
for i in range(len(serial_output)):
assert np.array_equal(serial_output[i], parallel_output[i])
assert np.max(np.abs(serial_output[i] - parallel_output[i])) < 1e-5
assert serial_time > parallel_time
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment