Skip to content

Commit

Permalink
Bump Nemo/AA dependencies (#389)
Browse files Browse the repository at this point in the history
* Bump Nemo/AA dependencies

* Adjust printing
  • Loading branch information
thofma committed Mar 15, 2021
1 parent 09e2961 commit e5008a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ lib4ti2_jll = "1493ae25-0f90-5c0e-a06c-8c5077d6d66f"
libsingular_julia_jll = "ae4fbd8f-ecdb-54f8-bbce-35570499b30e"

[compat]
AbstractAlgebra = "0.13"
AbstractAlgebra = "0.14"
CxxWrap = "0.11"
Nemo = "0.20"
Nemo = "0.21"
RandomExtensions = "0.4.2"
Singular_jll = "~402.000.102"
julia = "1.3"
Expand Down
8 changes: 5 additions & 3 deletions src/libsingular/coeffs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,11 @@ end
function stringify_wrt_times(n)
prec = AbstractAlgebra.prec_inf_Times
obj = AbstractAlgebra.canonicalize(AbstractAlgebra.expressify(n))
S = AbstractAlgebra.printer([])
AbstractAlgebra.printExpr(S, obj, prec, prec)
str = AbstractAlgebra.getstring(S)
io = IOBuffer()
S = AbstractAlgebra.printer(io)
AbstractAlgebra.print_obj(S, MIME("text/plain"), obj, prec, prec)
AbstractAlgebra.finish(S)
return String(take!(io))
end

###############################################################################
Expand Down

0 comments on commit e5008a5

Please sign in to comment.