Or just cherry pick this https://github.com/mrocklin/sympy/commit/c6b2ed058dbf16d577181360864dabd1e2f6029e
On Thu, May 2, 2013 at 3:57 PM, Matthew Rocklin <[email protected]> wrote: > Ah, this also depends on development version of logpy, branch > assoccomm-registry > > > > > On Thu, May 2, 2013 at 3:52 PM, Matthew Rocklin <[email protected]>wrote: > >> If you're willing to work off of a development branch >> >> git remote add mrocklin [email protected]:mrocklin/sympy.git >> git remote update mrocklin >> git checkout mrocklin/logpy-start >> >> bin/isympy >> >> In [1]: import sympy.logpy >> In [2]: from logpy.variables import variables >> In [3]: from logpy.unify import unify >> In [4]: with variables(g): >> print unify(sin(x), g(x), {}) >> ...: >> {g: sin} >> >> >> >> >> On Thu, May 2, 2013 at 3:16 PM, Stefan Krastanov < >> [email protected]> wrote: >> >>> `unify(sin(x), g(x), variables=[g])` returns an empty list (instead of >>> `sin`). I am aware of the mess with `Function` and co. Is there a way >>> around this? >>> >>> -- >>> 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?hl=en-US. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> > -- 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?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.
