> def canonical_solve(eqs, syms):
>    assert iterable(eqs) and is_sequence(syms)
>    syms = list(syms)
>    syms.append(Dummy()) # force dict output
>    return solve(eqs, *syms) or {}

I mean

...
ans = solve(eqs, *syms) or {}
if type(ans) is dict:
    ans = [ans]
return ans # list of dicts

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

Reply via email to