Skip to content

Commit

Permalink
Udate src/TropicalGeometry/variety_binomial.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
YueRen committed Sep 18, 2024
1 parent 05818f9 commit 44cd831
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TropicalGeometry/variety_binomial.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function tropical_variety_binomial(I::MPolyIdeal,nu::TropicalSemiringMap; weight
# and vector of coefficient valuation differences
###
G = gens(I)
A = matrix(ZZ,[first(expv)-last(expv) for expv in exponents.(G)])
b = [ QQ(nu(last(coeff)/first(coeff))) for coeff in coefficients.(G)]
A = matrix(ZZ,[first(expv)-last(expv) for expv in collect.(exponents.(G))])
b = [ QQ(nu(last(coeff)/first(coeff))) for coeff in collect.(coefficients.(G))]

###
# Compute tropical variety multiplicity
Expand Down

0 comments on commit 44cd831

Please sign in to comment.