Status: Valid
Owner:
Labels: Type-Defect Priority-Medium Logic Printing
New issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args
http://code.google.com/p/sympy/issues/detail?id=4081
Equivalent(x, y) sometimes prints as Equivalent(x, y) and sometimes as
Equivalent(y, x). I haven'
Comment #1 on issue 4081 by julien.r...@gmail.com: Equivalent doesn't sort
args
http://code.google.com/p/sympy/issues/detail?id=4081
Looks like a printer issue: the string printing of Equivalent falls back to
the _print_Basic method, while other BooleanFunction subclasses such as
And, Or
Comment #2 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args
http://code.google.com/p/sympy/issues/detail?id=4081
Doesn't that mean it's an args ordering issue then?
--
You received this message because this project is configured to send all
issue notifications to this address
Comment #3 on issue 4081 by julien.r...@gmail.com: Equivalent doesn't sort
args
http://code.google.com/p/sympy/issues/detail?id=4081
I assume it's a design decision to have BooleanFunction not sort their args.
--
You received this message because this project is configured to send all
issu
Comment #4 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args
http://code.google.com/p/sympy/issues/detail?id=4081
OK, looking at the code, it has nothing to do with BooleanFunction.
BooleanFunction is just a Boolean Function, so it does sort its args (as it
should). And and O
Updates:
Status: Started
Comment #5 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args
http://code.google.com/p/sympy/issues/detail?id=4081
See https://github.com/sympy/sympy/pull/2560.
--
You received this message because this project is configured to send all
issue no
Comment #6 on issue 4081 by julien.r...@gmail.com: Equivalent doesn't sort
args
http://code.google.com/p/sympy/issues/detail?id=4081
So can we remove the sorting from the _print_And and _print_Or methods?
--
You received this message because this project is configured to send all
issue not
Comment #7 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args
http://code.google.com/p/sympy/issues/detail?id=4081
Printing sorting and arg sorting aren't always the same. So we'd have to
check.
--
You received this message because this project is configured to send all
issu