diff --git a/src/TropicalGeometry/semiring_map.jl b/src/TropicalGeometry/semiring_map.jl index ac10fe16b1b7..cc1513093a1a 100644 --- a/src/TropicalGeometry/semiring_map.jl +++ b/src/TropicalGeometry/semiring_map.jl @@ -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