Hi Gaurav, As of now the solveset doesn't supports assumptions on symbols, and moreover it's still in sandbox mode. Solveset will eventually replace solve by the time it fixes all the mess around old solve.
Also, It is very important that the solveset to be tied with the `new` assumption system, which is still in development. Hopefully, soon we will have both of these tied together. AMiT Kumar 3rd Year Undergrad Delhi Technological University www.iamit.in On Sunday, May 3, 2015 at 4:06:56 PM UTC+5:30, Gaurav Dhingra wrote: > > Hi everyone > > >>> from sympy import * > >>> from sympy.solvers.solveset import * > >>> a = symbols( 'a' , real=False ) > >>> solve( a**2 - 1, a) > [] > >>> solveset( a**2 - 1, a ) > {-1, 1} > > Should not the output of both solve() and solveset() functions be same ? > Is there anything i am doing wrong ? > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/743822bc-5973-4441-9a95-e8775e19b72c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.