Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed May 10, 2024
1 parent 1a9a605 commit 3f3c29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion galgebra/mv.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ def __ror__(self, A): # dot (|) product
def __pow__(self, n): # Integer power operator
if not isinstance(n, int):
raise ValueError('!!!!Multivector power can only be to integer power!!!!')

if n < 0:
return (self**(-n)).inv()

Expand Down

0 comments on commit 3f3c29d

Please sign in to comment.