JuliaHomotopyContinuation / HomotopyContinuation.jl

A Julia package for solving systems of polynomials via homotopy continuation.
https://www.JuliaHomotopyContinuation.org
MIT License
186 stars 31 forks source link

Monodromy Start Solutions Int64 yields an error #352

Closed PBrdng closed 4 years ago

PBrdng commented 4 years ago

In the example

juliahomotopycontinuation.org/guides/monodromy/

the code

using HomotopyContinuation
@polyvar x y u[1:2]
F = [x^4 + y - 2u[1], x^4 + x^2 - 2*u[2]*y^2]
monodromy_solve(F, [[1; 1]], [1, 1], parameters = u)

produces the error

ERROR: MethodError: no method matching randn(::Random.MersenneTwister, ::Type{Complex{Int64}})

on the other hand,

monodromy_solve(F, [[1; 1.0]], [1, 1], parameters = u)

works. It's type error with the start solutions that we need to fix.