saschatimme/PolynomialAmoebas.jl

Errors in amoeba (and contour)

Opened this issue · 0 comments

  1. Running the code
using PolynomialAmoebas
@polyvar x y
amoeba(1-4*x*y+x^3+y^3)

gives ArgumentError: points are not full dimensional (full Stacktrace below).

  1. Running the code
using PolynomialAmoebas
@polyvar x y
f = 5*x^2*y^2 + 12*x^2*y + 12*x*y^2 + 5*x^2 + 30*x*y + 5*y^2 + 1
amoeba(f, domain=(-3,3,-3,3))

gives BoundsError: attempt to access 2-element Vector{Int64} at index [3] (contour throws the same error on this polynomial, and changing the bounds to (-2,2,-2,2) gives the separate error AssertionError: xmin <= x0 <= xmax).


Full StackTraces: PA.txt