Skip to content

Commit

Permalink
pow fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrolexa committed Nov 18, 2024
1 parent 2123e9a commit b8e0446
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apsg/math/_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def __pow__(self, other):
if issubclass(type(other), Vector3):
return self.cross(other)
else:
return type(self)(np.pow(self, other))
return type(self)(np.power(self, other))

@ensure_first_arg_same
def cross(self, other):
Expand Down

0 comments on commit b8e0446

Please sign in to comment.