Commit 3c426b11 authored by Philipp Arras's avatar Philipp Arras

Add todos

parent 80c57b11
Pipeline #39852 failed with stages
in 4 minutes and 26 seconds
...@@ -32,7 +32,9 @@ def _joint_position(op1, op2): ...@@ -32,7 +32,9 @@ def _joint_position(op1, op2):
class ScalarMul(Model): class ScalarMul(Model):
def __init__(self, factor, op): def __init__(self, factor, op):
# TODO op -> model
super(ScalarMul, self).__init__(op.position) super(ScalarMul, self).__init__(op.position)
# TODO -> floating
if not isinstance(factor, (float, int)): if not isinstance(factor, (float, int)):
raise TypeError raise TypeError
......
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