Commit 6fa98577 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'addnonlin' into 'NIFTy_6'

Add one_over() to MultiField

See merge request !400
parents e68753f6 a69b2fd4
Pipeline #67386 passed with stages
in 16 minutes and 26 seconds
......@@ -343,7 +343,7 @@ for op in ["__iadd__", "__isub__", "__imul__", "__idiv__",
setattr(MultiField, op, func(op))
for f in ["sqrt", "exp", "log", "log1p", "expm1", "tanh"]:
for f in ["sqrt", "exp", "log", "log1p", "expm1", "tanh", "one_over"]:
def func(f):
def func2(self):
fu = getattr(Field, f)
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