Skip to content

Commit

Permalink
Auto-format code changes (#653)
Browse files Browse the repository at this point in the history
Auto-format code using Clang-Format

Co-authored-by: GitHub Actions <actions@github.com>
  • Loading branch information
github-actions[bot] and actions-user committed Sep 11, 2024
1 parent 225275b commit af944cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/micm/solver/rosenbrock.inl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace micm
// compute the negative jacobian at the beginning of the current time
state.jacobian_.Fill(0.0);
rates_.SubtractJacobianTerms(state.rate_constants_, Y, state.jacobian_);
stats.jacobian_updates_ += 1;
stats.jacobian_updates_ += 1;

bool accepted = false;
// Repeat step calculation until current step accepted
Expand Down Expand Up @@ -123,8 +123,8 @@ namespace micm
for (uint64_t stage = 0; stage < parameters_.stages_; ++stage)
Ynew.Axpy(parameters_.m_[stage], K[stage]);

Yerror.Fill(0.0);
Yerror.Fill(0.0);

for (uint64_t stage = 0; stage < parameters_.stages_; ++stage)
Yerror.Axpy(parameters_.e_[stage], K[stage]);

Expand Down

0 comments on commit af944cd

Please sign in to comment.