Skip to content

Commit

Permalink
test: uncomment test of CSE with arrayops
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Feb 10, 2025
1 parent 5f51b84 commit 1cfae16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ StaticArraysCore = "1.4"
SymPy = "2.2"
SymbolicIndexingInterface = "0.3.14"
SymbolicLimits = "0.2.2"
SymbolicUtils = "3.10"
SymbolicUtils = "3.14"
TermInterface = "2"
julia = "1.10"

Expand Down
16 changes: 8 additions & 8 deletions test/build_function.jl
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,14 @@ end
end
end

# @testset "cse with arrayops" begin
# @variables x[1:3] y f(..)
# t = x .+ y
# t = t .* f(t)
# res = cse(value(t))
# @test res isa Let
# @test !isempty(res.pairs)
# end
@testset "cse with arrayops" begin
@variables x[1:3] y f(..)
t = x .+ y
t = t .* f(t)
res = cse(value(t))
@test res isa Let
@test !isempty(res.pairs)
end

@testset "`CallWithMetadata` in `DestructuredArgs` with `create_bindings = false`" begin
@variables x f(..)
Expand Down

0 comments on commit 1cfae16

Please sign in to comment.