Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Auto-format code changes #653

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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