Skip to content

Commit 04c751f

Browse files
committed
disable CSE warnings since we are okay with not CSEing if CommonSubexpressions does not support the expression
1 parent 1c95c33 commit 04c751f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ DiffResults 0.0.1
55
DiffRules 0.0.4
66
NaNMath 0.2.2
77
SpecialFunctions 0.1.0
8-
CommonSubexpressions 0.0.1
8+
CommonSubexpressions 0.1.0

src/prelude.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function qualified_cse!(expr)
5757
placeholders[placeholder] = x
5858
placeholder
5959
end
60-
cse_expr = CommonSubexpressions.cse(expr)
60+
cse_expr = CommonSubexpressions.cse(expr, false)
6161
replace_match!(x -> haskey(placeholders, x), cse_expr.args) do x
6262
placeholders[x]
6363
end

0 commit comments

Comments
 (0)