Skip to content

Commit 004cc63

Browse files
committed
returns correctly without undefined solutions in rational_parametrization case
1 parent 8258457 commit 004cc63

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/algorithms/solvers.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,10 @@ function _core_msolve(
151151

152152
I.rat_param = RationalParametrization(vsymbols, rat_param[1],rat_param[2],
153153
rat_param[3], rat_param[4])
154+
if get_param == 2
155+
return rat_param, undef
156+
end
157+
154158
if jl_nb_sols == 0
155159
I.real_sols = QQFieldElem[]
156160
I.inter_sols = Vector{QQFieldElem}[]

0 commit comments

Comments
 (0)