Skip to content

Commit 227f41f

Browse files
committed
catch no solutions for multibezout
1 parent 5892af3 commit 227f41f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/solve.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,10 @@ function solver_startsolutions(
177177
target_parameters = target_parameters,
178178
kwargs...,
179179
)
180-
if length(starts) == 0
181-
throw("The number of start solutions is zero.")
180+
try
181+
first(starts)
182+
catch
183+
throw("The number of start solutions is zero (total degree is zero).")
182184
end
183185
else
184186
throw(

0 commit comments

Comments
 (0)