We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a9f0c5 + 1acb9c2 commit 224e752Copy full SHA for 224e752
src/simplify_rules.jl
@@ -61,6 +61,7 @@ let
61
@rule(real(~x::_isreal) => ~x)
62
@rule(imag(~x::_isreal) => zero(symtype(~x)))
63
@rule(ifelse(~x::is_literal_number, ~y, ~z) => ~x ? ~y : ~z)
64
+ @rule(ifelse(~x, ~y, ~y) => ~y)
65
]
66
67
TRIG_EXP_RULES = [
0 commit comments