You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the Num type from the Symbolics.jl library with SparseArrays does not work. This happens because ==(x::Num, y::Real) returns a symbolic expression instead of a Bool.
Symbolics defines iszero in a way that it return a Bool so I think it could be changed all the comparisons to zero to iszero and have a greater compatibility for more types and libraries.
The text was updated successfully, but these errors were encountered:
Using the
Num
type from the Symbolics.jl library withSparseArrays
does not work. This happens because==(x::Num, y::Real)
returns a symbolic expression instead of aBool
.Symbolics defines
iszero
in a way that it return aBool
so I think it could be changed all the comparisons to zero toiszero
and have a greater compatibility for more types and libraries.The text was updated successfully, but these errors were encountered: