ma...@mendelu.cz wrote:
> 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
> 


[x==r1] would be consistent with the multivariable case; I like that 
better than True or [x==x], for example.

Jason


-- 
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

Reply via email to