Skip to content

Commit

Permalink
Fix bug in adjoint example: Partition forward integration into 100 st…
Browse files Browse the repository at this point in the history
…eps when computing adjoint.
  • Loading branch information
Slaven Peles committed Mar 16, 2021
1 parent 5722523 commit 9e3882a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/AdjointSensitivity/AdjointSensitivity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ int main()
idas->getSavedInitialCondition();
idas->initializeSimulation(t_init);
idas->initializeQuadrature();
idas->runForwardSimulation(t_final);
idas->runForwardSimulation(t_final, 100);

std::cout << "\n\nCost of forward simulation for adjoint\n"
<< "sensitivity analysis:\n\n";
Expand Down

0 comments on commit 9e3882a

Please sign in to comment.