Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
amilsted committed Jul 24, 2023
1 parent 70eb448 commit c05bf91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simplify_rules.jl
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ let
@rule(imag(~x::_isreal) => zero(symtype(~x)))
@rule(~x + conj(~x) => 2 * real(~x))
@rule(~x - conj(~x) => 2im * imag(~x))
@rule(real(~x) + imag(~x) => x)
@rule(imag(~x) + real(~x) => x)
@rule(real(~x) + imag(~x) => ~x)
@rule(imag(~x) + real(~x) => ~x)
@rule(ifelse(~x::is_literal_number, ~y, ~z) => ~x ? ~y : ~z)
@rule(ifelse(~x, ~y, ~y) => ~y)
]
Expand Down

0 comments on commit c05bf91

Please sign in to comment.