Skip to content

Commit

Permalink
correct has_adjoint in apply_jacobian(pb::AbstractBifurcationProblem
Browse files Browse the repository at this point in the history
  • Loading branch information
rveltz committed Nov 21, 2024
1 parent 0712c5d commit f48bb60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ function apply_jacobian(pb::AbstractBifurcationProblem, x, par, dx, transpose_ja
return dF(pb, x, par, dx)
else
if has_adjoint(pb)
return jad(pb, x, par, dx)
return apply(jad(pb, x, par), dx)
else
return apply(transpose(jacobian(pb, x, par)), dx)
end
Expand Down

0 comments on commit f48bb60

Please sign in to comment.