Skip to content

Commit

Permalink
Use algebraic_closure(QQ) instead of QQBar (#3954)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Jul 19, 2024
1 parent 3e7f901 commit 9479dae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion experimental/QuadFormAndIsom/src/lattices_with_isometry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ function signatures(Lf::ZZLatWithIsom)
f = isometry(Lf)
n = order_of_isometry(Lf)
C = CalciumField()
eig = eigenvalues(QQBar, f)
eig = eigenvalues(algebraic_closure(QQ), f)
lambda = C(eig[1])
Sq = Int[i for i in 1:div(n,2) if gcd(i,n) == 1]
D = Dict{Integer, Tuple{Int, Int}}()
Expand Down
2 changes: 1 addition & 1 deletion src/AlgebraicGeometry/Surfaces/K3Auto.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ function ample_class(S::ZZLat)
else
rv = (r*gram_matrix(S)*transpose(v))[1,1]
p = x^2*vsq + 2*x*rv + rsq
rp = roots(CalciumQQBar, p)
rp = roots(algebraic_closure(QQ), p)
a = rp[1]
b = rp[2]
if a > b
Expand Down
3 changes: 1 addition & 2 deletions src/imports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ import Hecke:
IntegerUnion,
MapHeader,
multiplicative_jordan_decomposition,
primitive_element,
QQBar
primitive_element

# temporary workaround, see https://github.com/thofma/Hecke.jl/pull/1224
if !isdefined(Hecke, :torsion_free_rank)
Expand Down

0 comments on commit 9479dae

Please sign in to comment.