Skip to content

Commit

Permalink
Update ForwardDiff
Browse files Browse the repository at this point in the history
after specializing on function paramerter for jacobian! has been fixed
in JuliaDiff/ForwardDiff.jl#615
  • Loading branch information
j-fu committed Feb 25, 2023
1 parent f50f307 commit d8e65c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "VoronoiFVM"
uuid = "82b139dc-5afc-11e9-35da-9b9bdfd336f3"
authors = ["Juergen Fuhrmann <juergen.fuhrmann@wias-berlin.de>"]
version = "1.1.0"
version = "1.1.1"

[deps]
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
Expand Down Expand Up @@ -35,7 +35,7 @@ DiffResults = "1"
DocStringExtensions = "0.8,0.9"
ExtendableGrids = "0.9.16"
ExtendableSparse = "1.0.1"
ForwardDiff = "^0.10"
ForwardDiff = "0.10.35"
GridVisualize = "0.5.2,0.6.1,1"
JLD2 = "0.4.29"
LinearSolve = "1.37"
Expand Down
2 changes: 1 addition & 1 deletion src/vfvm_physics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ $(TYPEDSIGNATURES)
Call function in evaluator, store result and jacobian in predefined memory.
"""
function evaluate!(e::ResJacEvaluator, u)
e.isnontrivial ? ForwardDiff.vector_mode_jacobian!(e.result, e.fwrap, e.y, u, e.config) : nothing
e.isnontrivial ? ForwardDiff.jacobian!(e.result, e.fwrap, e.y, u, e.config) : nothing
nothing
end

Expand Down

2 comments on commit d8e65c4

@j-fu
Copy link
Member Author

@j-fu j-fu commented on d8e65c4 Feb 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/78534

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.1 -m "<description of version>" d8e65c4d9a442841f746a37e6ea936037b2606fc
git push origin v1.1.1

Please sign in to comment.