Skip to content

Commit

Permalink
Disable state0 gradients by default
Browse files Browse the repository at this point in the history
  • Loading branch information
moyner committed Sep 27, 2024
1 parent eeadc6a commit 96aebc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ad/gradients.jl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function setup_adjoint_storage(model;
parameters = setup_parameters(model),
n_objective = nothing,
targets = parameter_targets(model),
include_state0 = true,
include_state0 = false,
use_sparsity = true,
linear_solver = select_linear_solver(model, mode = :adjoint, rtol = 1e-6),
param_obj = true,
Expand Down

0 comments on commit 96aebc6

Please sign in to comment.