Skip to content

Commit

Permalink
TropicalGeometry: fixed initials w.r.t. t-adic valuation (oscar-syste…
Browse files Browse the repository at this point in the history
  • Loading branch information
YueRen authored Aug 30, 2024
1 parent 8385005 commit 43ab57b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TropicalGeometry/semiring_map.jl
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,5 @@ function initial(c::Union{RingElem,Integer,Rational}, nu::TropicalSemiringMap{Kt
c = valued_field(nu)(c)
iszero(c) && return zero(residue_field(nu)) # if c is zero, return 0
c *= valued_field(nu)(uniformizer(nu))^(-t_adic_valuation(c,uniformizer(nu)))
return residue_field(nu)(c)
return evaluate(numerator(c),0)
end

0 comments on commit 43ab57b

Please sign in to comment.