Skip to content

Commit

Permalink
Auto-format code changes (#214)
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 Sep 8, 2023
1 parent 5d88637 commit 604b5de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions include/micm/solver/rosenbrock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ namespace micm
/// @param jacobian Jacobian matrix (dforce_dy)
/// @param alpha
void AlphaMinusJacobian(SparseMatrixPolicy<double>& jacobian, const double& alpha) const
requires(!VectorizableSparse<SparseMatrixPolicy<double>>);
requires(!VectorizableSparse<SparseMatrixPolicy<double>>);
void AlphaMinusJacobian(SparseMatrixPolicy<double>& jacobian, const double& alpha) const
requires(VectorizableSparse<SparseMatrixPolicy<double>>);
requires(VectorizableSparse<SparseMatrixPolicy<double>>);

/// @brief Update the rate constants for the environment state
/// @param state The current state of the chemical system
Expand Down Expand Up @@ -239,7 +239,7 @@ namespace micm
double
NormalizedError(const MatrixPolicy<double>& y, const MatrixPolicy<double>& y_new, const MatrixPolicy<double>& errors);
};

} // namespace micm

#include "rosenbrock.inl"
4 changes: 2 additions & 2 deletions include/micm/solver/state.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

namespace micm
{

struct StateParameters
{
std::vector<std::string> state_variable_names_{};
Expand Down Expand Up @@ -68,7 +68,7 @@ namespace micm
void SetCustomRateParameter(const std::string& label, double value);
void SetCustomRateParameter(const std::string& label, const std::vector<double>& values);
};

} // namespace micm

#include "state.inl"

0 comments on commit 604b5de

Please sign in to comment.