Skip to content

Commit

Permalink
Make dtype arbitrary so negative integers aren't force-cast into uints
Browse files Browse the repository at this point in the history
  • Loading branch information
mhostetter committed Jul 1, 2024
1 parent b0e1bdf commit ccda082
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/galois/_polys/_dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -510,4 +510,4 @@ def implementation(nonzero_degrees, nonzero_coeffs, primitive_element): # pragm
if len(roots) == degree:
break

return np.array([roots, powers], dtype=nonzero_coeffs.dtype)
return np.array([roots, powers])

0 comments on commit ccda082

Please sign in to comment.