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

Commit 91d3645

Browse files
Rémy Oudomphengyyyyx4
Rémy Oudompheng
authored andcommitted
avoid constructing list of all base-field elements
1 parent 7f71494 commit 91d3645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/algebras/quatalg/quaternion_algebra.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ def modp_splitting_data(self, p):
12321232
raise NotImplementedError("algorithm for computing local splittings not implemented in general (currently require the first invariant to be coprime to p)")
12331233
i2inv = ~i2
12341234
a = None
1235-
for b in list(F):
1235+
for b in F:
12361236
if not b:
12371237
continue
12381238
c = j2 + i2inv * b*b

0 commit comments

Comments
 (0)