aboutsummaryrefslogtreecommitdiff
path: root/kummer_degree.sage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kummer_degree.sage4
1 files changed, 2 insertions, 2 deletions
diff --git a/kummer_degree.sage b/kummer_degree.sage
index 3085efd..d6e8ffd 100644
--- a/kummer_degree.sage
+++ b/kummer_degree.sage
@@ -173,8 +173,8 @@ def cyc_embed( b ):
173# Computes the minimal cyclotomic field containing \zeta_{2^n}\sqrt(b), 173# Computes the minimal cyclotomic field containing \zeta_{2^n}\sqrt(b),
174# where (n,b)=p 174# where (n,b)=p
175def special_embed( p ): 175def special_embed( p ):
176 n = p.first 176 n = p[0]
177 n = p.second 177 b = p[1]
178 m = squarefree_part(b) 178 m = squarefree_part(b)
179 if n == 3 and m % 2 == 0: 179 if n == 3 and m % 2 == 0:
180 return 4 * cyc_embed(m/2) 180 return 4 * cyc_embed(m/2)

Generated with cgit - Back to sebastiano.tronto.net