On Apr 19, 2011, at 9:24 AM, Vinzent Steinberg wrote: > On Apr 18, 9:43 pm, "Aaron S. Meurer" <[email protected]> wrote: >>>>>> solve((x+y-5,x-y-1),x,y) # a system with a single solution >>> {x: 3, y: 2} >>>>>> solve((x+y-5,x-y**2+1),x,y) # s system with two solutions >>> [(3, 2), (8, -3)] >> >> Wow, do we really do that? That's a horrible convention. > > This is indeed inconsistent. Do you think the latter should be > default, even if there is only one solution? > > Vinzent
Either that or always return a tuple as values in the dictionary. Aaron Meurer -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
