four vars but only one eq generate solve() error
Hi
W10 SageMath 9.2
why I m not allowed to have only one equation in the equation list, (uncomment line 4)?
varL=var('a,b,c,d',domain='real')
eqL=[a == -d, b*c == 0, a*(b + c) == 0]
eqL=[a == -d, b*c == 0]
#eqL=[a == -d]
show("so we need : \t ",eqL)
S=solve(eqL,varL)
show(S)
but with eqL=[a == -d,1==1]
,solve is ok
I think there is a bug here.Am I wrong ?
Indeed, this seems to be specific of equation singleton cases. Contrast :
with :
[ Snip... ]
[ Snip... ]
Would you care to report this ?
Would you care to report this ?@Emmanuel Charpentier :what do you mean ?
I think it's a problem that we can't use solve with a list with only one equation.
solve([a==-d],[a, b,c, d])
should have returned the following responseor at least do not generate an error, and return the same equation
Filing a ticket on Trac...
I filled in the ticket with a minimum of information as it is easily reproducible. I chose "Algebra" as a component, I'm not sure it makes sense .