Skip to content

Commit

Permalink
Disable default sparsity check in DIT (#569)
Browse files Browse the repository at this point in the history
  • Loading branch information
gdalle authored Oct 10, 2024
1 parent 7607ec2 commit 45fbdd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DifferentiationInterfaceTest/Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "DifferentiationInterfaceTest"
uuid = "a82114a7-5aa3-49a8-9643-716bb13727a3"
authors = ["Guillaume Dalle", "Adrian Hill"]
version = "0.8.0"
version = "0.8.1"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down
4 changes: 2 additions & 2 deletions DifferentiationInterfaceTest/src/test_differentiation.jl
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ For `type_stability` and `benchmark`, the possible values are `:none`, `:prepare
- `atol=0`: absolute precision for correctness testing (when comparing to the reference outputs)
- `rtol=1e-3`: relative precision for correctness testing (when comparing to the reference outputs)
- `scenario_intact=true`: whether to check that the scenario remains unchanged after the operators are applied
- `sparsity`: whether to check sparsity patterns for Jacobians / Hessians
- `sparsity=false`: whether to check sparsity patterns for Jacobians / Hessians
**Type stability options:**
Expand All @@ -69,7 +69,7 @@ function test_differentiation(
atol::Real=0,
rtol::Real=1e-3,
scenario_intact::Bool=true,
sparsity::Bool=true,
sparsity::Bool=false,
# type stability options
ignored_modules=nothing,
# benchmark options
Expand Down

0 comments on commit 45fbdd6

Please sign in to comment.