Skip to content

Commit 34b9857

Browse files
Merge pull request #216 from gdalle/gd/jvp2
Make JVPCache immutable
2 parents 788e098 + 0d535b4 commit 34b9857

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "FiniteDiff"
22
uuid = "6a86dc24-6348-571c-b903-95158fe2bd41"
3-
version = "2.31.0"
3+
version = "2.31.1"
44

55
[deps]
66
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

src/jvp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ and `v` is a vector.
1111
- `x1::X1`: Temporary array for perturbed input values
1212
- `fx1::FX1`: Temporary array for function evaluations
1313
"""
14-
mutable struct JVPCache{X1, FX1, FDType}
14+
struct JVPCache{X1, FX1, FDType}
1515
x1::X1
1616
fx1::FX1
1717
end

0 commit comments

Comments
 (0)