In the fourth call of solve below, solve(..., solution_dict=True) does not return a list, but a dictionary, in contrast to the documentation ("solution_dict - bool (default: False); if True, return a list of dictionaries containing the solutions.")
f(x)=x-1 g(x)=0 print solve(f(x)==0,x) print solve(f(x)==0,x,solution_dict=True) print solve(g(x)==0,x) print solve(g(x)==0,x,solution_dict=True) [ x == 1 ] [{x: 1}] [x == r1] {x: r1} I think that it would be more consistent to return [{x: r1}]. (Obviously, as it stands here, the input is rather stupid, but the inconsistency popped up in a more involved context). (Sage 4.7, compiled locally for debian stable amd_64). Possibly related to http://trac.sagemath.org/sage_trac/ticket/8553 -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org