On 18 lis, 21:49, Harald Schilly <harald.schi...@gmail.com> wrote: > I got this from the "report a problem" form, confirmed in 4.2.1 > > sage: solve([x==x],x) > gives an exception. > > Maxima says this: > $ maxima -q > (%i1) solve([x=x],x); > (%o1) all > (%i2)
Similar problem is solve(SR(0),x) and another problem is solve(0,x) - but both these cases are highly improbable. Should be the second one fixed or no? I think that it is easy to catch the answer 'all' in the maxima output and change into anything we want on output, but the question is, what should be the output of solve([x==x],x) and solve([x==x],x, solution_dict=True) in Sage btw: sage: y=var('y') sage: solve([x==x,y==y],[x,y]) [[x == r2, y == r1]] sage: I did not look to the Maxima code (can look tomorow, we have a midnight in five minutes), but from the test like above it seems that the answer 'all' appears only for equations in one variable. Robert -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org