Skip to content
Snippets Groups Projects
Commit 8731a4fd authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[bugfix] sqrt function needs to be takjen from numpy

parent afd0da05
No related branches found
No related tags found
No related merge requests found
......@@ -293,7 +293,7 @@ class UFL2LoopyVisitor(ModifiedTerminalTracker):
return self._evaluate_function(np.exp, "exp", self.call(o.ufl_operands[0]))
def sqrt(self, o):
return self._evaluate_function(sqrt, "sqrt", self.call(o.ufl_operands[0]))
return self._evaluate_function(np.sqrt, "sqrt", self.call(o.ufl_operands[0]))
def power(self, o):
from ufl.constantvalue import IntValue
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment