Commit c59137cb authored by Martin Reinecke's avatar Martin Reinecke
Browse files

fix

parent f0a24f5e
...@@ -305,7 +305,7 @@ for f in ["sqrt", "exp", "log", "tanh", "conjugate"]: ...@@ -305,7 +305,7 @@ for f in ["sqrt", "exp", "log", "tanh", "conjugate"]:
def clipped_exp(a): def clipped_exp(a):
return data_object(x.shape, np.exp(np.clip(x.data, -300, 300), x.distaxis) return data_object(x.shape, np.exp(np.clip(x.data, -300, 300), x.distaxis))
def from_object(object, dtype, copy, set_locked): def from_object(object, dtype, copy, set_locked):
......
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