Skip to content

Commit

Permalink
feat: use flint 3 (#3689)
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma authored May 6, 2024
1 parent 006e9a3 commit c8e18de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,21 +26,21 @@ cohomCalg_jll = "5558cf25-a90e-53b0-b813-cadaa3ae7ade"

[compat]
AbstractAlgebra = "0.41.3"
AlgebraicSolving = "0.4.11"
AlgebraicSolving = "0.4.15"
Distributed = "1.6"
DocStringExtensions = "0.8, 0.9"
GAP = "0.10.2"
Hecke = "0.31.3"
Hecke = "0.31.5"
JSON = "^0.20, ^0.21"
JSON3 = "1.13.2"
LazyArtifacts = "1.6"
Nemo = "0.44.0"
Nemo = "0.45.0"
Pkg = "1.6"
Polymake = "0.11.14"
Random = "1.6"
RandomExtensions = "0.4.3"
Serialization = "1.6"
Singular = "0.23.0"
Singular = "0.23.1"
TOPCOM_jll = "0.17.8"
UUIDs = "1.6"
cohomCalg_jll = "0.32.0"
Expand Down
4 changes: 2 additions & 2 deletions src/Serialization/Fields.jl
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ end

# elements
function save_object(s::SerializerState, r::ArbFieldElem)
c_str = ccall((:arb_dump_str, Nemo.libarb), Ptr{UInt8}, (Ref{ArbFieldElem},), r)
c_str = ccall((:arb_dump_str, Nemo.libflint), Ptr{UInt8}, (Ref{ArbFieldElem},), r)
save_object(s, unsafe_string(c_str))

# free memory
Expand All @@ -413,7 +413,7 @@ end
function load_object(s::DeserializerState, ::Type{ArbFieldElem}, parent::ArbField)
r = Nemo.ArbFieldElem()
load_node(s) do str
ccall((:arb_load_str, Nemo.libarb),
ccall((:arb_load_str, Nemo.libflint),
Int32, (Ref{ArbFieldElem}, Ptr{UInt8}), r, str)
end
r.parent = parent
Expand Down

0 comments on commit c8e18de

Please sign in to comment.