Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display issue with complex_embeddings(::AnticNumberField) #1741

Closed
SyxP opened this issue Nov 18, 2022 · 0 comments · Fixed by thofma/Hecke.jl#1121
Closed

Display issue with complex_embeddings(::AnticNumberField) #1741

SyxP opened this issue Nov 18, 2022 · 0 comments · Fixed by thofma/Hecke.jl#1121
Labels
bug Something isn't working

Comments

@SyxP
Copy link
Contributor

SyxP commented Nov 18, 2022

There is a display issue with

julia> using Oscar;
julia> R, x = PolynomialRing(QQ, "x");
julia> K, a = NumberField(x, "a");
julia> θ = complex_embeddings(K)[1]
Embedding of
Number field over Rational Field with defining polynomial x
corresponding to ≈ 

It should read corresponding to ≈ 0. Notably, it is only a display issue. Moreover, the same issue occurs with real_embeddings.

julia> θ(K(1//3)) # θ(a) is pointless because a is zero.
[0.3333333333 +/- 4.31e-11]
julia> Oscar.versioninfo(full=true)
OSCAR version 0.11.0
  combining:
    AbstractAlgebra.jl   v0.27.6
    GAP.jl               v0.8.5
    Hecke.jl             v0.15.8
    Nemo.jl              v0.32.4
    Polymake.jl          v0.8.2
    Singular.jl          v0.14.0
  building on:
    Antic_jll               v0.201.500+0
    Arb_jll                 v200.2300.0+0
    Calcium_jll             v0.401.100+0
    FLINT_jll               v200.900.1+0
    GAP_jll                 v400.1192.2+1
    Singular_jll            v403.101.400+0
    libpolymake_julia_jll   v0.8.3+0
    libsingular_julia_jll   v0.27.0+0
    polymake_jll            v400.700.1+1
See `]st -m` for a full list of dependencies.

Julia Version 1.8.2
Commit 36034abf260 (2022-09-29 15:21 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, znver1)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_EDITOR = codium
Official https://julialang.org/ release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant