-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<ₑ
not fully reliable
#483
Comments
describes a bug caused by this issue. And it is also important to take into account. Sometimes symbolic software are used in math classes for educational purpose. Printing results in an appropriate order is important to avoid making bad first impression. |
Note that the example in the first comment got fixed at some point, at least for me with SymbolicsUtils 3.6.0 it gives: julia> using SymbolicUtils
julia> using SymbolicUtils: <ₑ
julia> @syms x
(x,)
julia> a = 28(x^14)
28(x^14)
julia> b = 44(x^7)
44(x^7)
julia> a <ₑ b # true
false
julia> b <ₑ a # true
true |
OK. Thank you! @karlwessel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
<ₑ
is normally used for sorting arguments.sort!(v; lt=isless, ...)
requires that only one oflt(x,y)
andlt(y,x)
can returntrue
.Here is an example where both return
true
.We got strange results sometimes.
Note that the two above are different.
The text was updated successfully, but these errors were encountered: