Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
avoid constructing list of all base-field elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Rémy Oudompheng authored and yyyyx4 committed Aug 13, 2022
1 parent 7f71494 commit 91d3645
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/algebras/quatalg/quaternion_algebra.py
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ def modp_splitting_data(self, p):
raise NotImplementedError("algorithm for computing local splittings not implemented in general (currently require the first invariant to be coprime to p)")
i2inv = ~i2
a = None
for b in list(F):
for b in F:
if not b:
continue
c = j2 + i2inv * b*b
Expand Down

0 comments on commit 91d3645

Please sign in to comment.