To use an OrderedDict is just the same as using Piecewise since you have to 
give it a list of key,value pairs. So a better workaround for anyone that 
cares about this is to just define your own little helper:

```
>>> pw=lambda *l: Piecewise(*unflatten(l, 2))
>>> pw(
... x,x<0,
... y,x>=0)
Piecewise((x, x < 0), (y, x >= 0))
```

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to