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.
1 parent dcbe861 commit 1acb9c2Copy full SHA for 1acb9c2
src/simplify_rules.jl
@@ -54,6 +54,7 @@ let
54
@rule(real(~x::_isreal) => ~x)
55
@rule(imag(~x::_isreal) => zero(symtype(~x)))
56
@rule(ifelse(~x::is_literal_number, ~y, ~z) => ~x ? ~y : ~z)
57
+ @rule(ifelse(~x, ~y, ~y) => ~y)
58
]
59
60
TRIG_EXP_RULES = [
0 commit comments