Skip to content

Commit

Permalink
Auto-format code changes (#640)
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 authored Aug 30, 2024
1 parent 89d9ee5 commit a95562a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/micm/solver/backward_euler.inl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ namespace micm
bool singular = false;

auto Yn = state.variables_;
auto& Yn1 = state.variables_; // Yn1 will hold the new solution at the end of the solve
auto& Yn1 = state.variables_; // Yn1 will hold the new solution at the end of the solve
auto forcing = state.variables_;

while (t < time_step)
Expand Down
2 changes: 1 addition & 1 deletion include/micm/solver/rosenbrock.inl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace micm

SolverResult result{};
result.state_ = SolverState::Running;
MatrixPolicy& Y = state.variables_; // Y will hold the new solution at the end of the solve
MatrixPolicy& Y = state.variables_; // Y will hold the new solution at the end of the solve
std::size_t num_rows = Y.NumRows();
std::size_t num_cols = Y.NumColumns();
MatrixPolicy Ynew(num_rows, num_cols);
Expand Down

0 comments on commit a95562a

Please sign in to comment.