Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
constraint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny-Nottonson committed Feb 29, 2024
1 parent 5e50c4a commit 6b5c99d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion voodoo/core/tensor.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ struct Tensor[

@parameter
if constraint.key() != "NoneConstraint":
constraint().constrain[shape](self.node.get_data())
constraint.constrain[shape](self.node.get_data())

fn __copyinit__(inout self, other: Self):
self.graph = other.graph
Expand Down

0 comments on commit 6b5c99d

Please sign in to comment.