Skip to content

Commit 45fbdd6

Browse files
authored
Disable default sparsity check in DIT (#569)
1 parent 7607ec2 commit 45fbdd6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

DifferentiationInterfaceTest/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "DifferentiationInterfaceTest"
22
uuid = "a82114a7-5aa3-49a8-9643-716bb13727a3"
33
authors = ["Guillaume Dalle", "Adrian Hill"]
4-
version = "0.8.0"
4+
version = "0.8.1"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

DifferentiationInterfaceTest/src/test_differentiation.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For `type_stability` and `benchmark`, the possible values are `:none`, `:prepare
4343
- `atol=0`: absolute precision for correctness testing (when comparing to the reference outputs)
4444
- `rtol=1e-3`: relative precision for correctness testing (when comparing to the reference outputs)
4545
- `scenario_intact=true`: whether to check that the scenario remains unchanged after the operators are applied
46-
- `sparsity`: whether to check sparsity patterns for Jacobians / Hessians
46+
- `sparsity=false`: whether to check sparsity patterns for Jacobians / Hessians
4747
4848
**Type stability options:**
4949
@@ -69,7 +69,7 @@ function test_differentiation(
6969
atol::Real=0,
7070
rtol::Real=1e-3,
7171
scenario_intact::Bool=true,
72-
sparsity::Bool=true,
72+
sparsity::Bool=false,
7373
# type stability options
7474
ignored_modules=nothing,
7575
# benchmark options

0 commit comments

Comments
 (0)