Commit 5ba219cd authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

avoid divide mu by 0 R2

parent ed934570
......@@ -31,7 +31,7 @@ def var_in_boundaries(var,lamb):
var_norm = var
var[id_neg] = 0
id_inf = np.where(var > (1+lamb))
var[id_inf] = 1+lamb
var[id_inf] = 1
return var
......
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