Skip to content
Snippets Groups Projects
Commit 58d74a3f authored by Stefano Serafin's avatar Stefano Serafin
Browse files

Fixed a bug that prevented correct initiliazation of deterministic runs

parent fa086eed
No related branches found
No related tags found
No related merge requests found
......@@ -273,7 +273,10 @@ class CBL:
# Optionally, read perturbed parameters
# This is not effective in the case of parameter estimation
if not do_parameter_estimation and ~np.isnan(perturbed_parameters.any()):
# The check is bypassed if the pfac vector is unset (=np.nan)
if not isinstance(perturbed_parameters,np.ndarray):
pass
elif not do_parameter_estimation and ~np.isnan(perturbed_parameters.any()):
pfac = parameter_transform[0](perturbed_parameters[0],kind='inv')
# Unpack state vector
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment