Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
natemacfadden committed Jan 22, 2024
1 parent 467bd26 commit 36cc01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cytools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def array_from_flint(arr: np.ndarray, t=None) -> np.ndarray:
"""
# get the type of arr
if t is None:
t = type(next(iter(M.flatten())))
t = type(next(iter(arr.flatten())))

# convert
if t == flint.fmpz:
Expand Down

0 comments on commit 36cc01d

Please sign in to comment.