Commit 144bdbdf authored by Theo Steininger's avatar Theo Steininger
Browse files

Removed copy argument from np.nan_to_num in EnsembleLikelihood. Old numpy versions don't have this.

parent 8acc69d7
......@@ -112,7 +112,7 @@ class EnsembleLikelihood(Likelihood):
# If the data was incomplete, i.e. contains np.NANs, set those values
# to zero.
np.nan_to_num(c, copy=False)
c = np.nan_to_num(c)
# assuming that A == A^dagger, this can be shortend
# a_c = A.inverse_times(c)
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