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

Add sinus handler

parent 3a4190f8
No related branches found
No related tags found
No related merge requests found
...@@ -315,6 +315,9 @@ class UFL2LoopyVisitor(ModifiedTerminalTracker): ...@@ -315,6 +315,9 @@ class UFL2LoopyVisitor(ModifiedTerminalTracker):
return ret return ret
def sin(self, o):
return prim.Call(prim.Variable("sin"), (self.call(o.ufl_operands[0]),))
# #
# Handler for conditionals, use pymbolic base implementation # Handler for conditionals, use pymbolic base implementation
# #
......
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