Skip to content

Commit

Permalink
test: disable enzyme test
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Jul 24, 2024
1 parent 21aab4f commit a846097
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/test_enzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ true_dX = cat(ones(100), -sin.(X[2, :]), zeros(100); dims=2)'

@test true_dX dX

#! format: off
@static if false
# Broken test (see https://github.com/EnzymeAD/Enzyme.jl/issues/1241)
function my_loss_function(tree, X, operators)
# Get the outputs
Expand Down Expand Up @@ -68,3 +70,6 @@ d_tree = begin
end

@test_broken get_scalar_constants(d_tree) [1.0, 0.717356]
end

#! format: on

0 comments on commit a846097

Please sign in to comment.