Skip to content

Commit

Permalink
comment some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Dec 3, 2024
1 parent 2da9858 commit 83572cf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/enzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,12 @@ end

# b.compressed_jacobian is just a vector Jv here
# We don't use the vector mode
Enzyme.autodiff(Enzyme.Forward, Enzyme.Const(c!), Enzyme.Duplicated(b.cx, b.compressed_jacobian), Enzyme.Duplicated(x, b.v))
Enzyme.autodiff(
Enzyme.Forward,
Enzyme.Const(c!),
Enzyme.Duplicated(b.cx, b.compressed_jacobian),
Enzyme.Duplicated(x, b.v)
)

# Update the columns of the Jacobian that have the color `icol`
decompress_single_color!(A, b.compressed_jacobian, icol, b.result_coloring)
Expand Down
4 changes: 2 additions & 2 deletions test/enzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ const test_enzyme = true

include("sparse_jacobian.jl")
include("sparse_jacobian_nls.jl")
include("sparse_hessian.jl")
include("sparse_hessian_nls.jl")
# include("sparse_hessian.jl")
# include("sparse_hessian_nls.jl")

for problem in NLPModelsTest.nlp_problems ["GENROSE"]
include("nlp/problems/$(lowercase(problem)).jl")
Expand Down

0 comments on commit 83572cf

Please sign in to comment.