From 90f69771b89a6c82fcdeae163bc8ae4393d124ce Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 23 Aug 2024 08:27:46 -0500 Subject: [PATCH] Auto-format code using Clang-Format (#208) Co-authored-by: GitHub Actions --- include/musica/micm.hpp | 3 ++- src/micm/micm.cpp | 15 +++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/musica/micm.hpp b/include/musica/micm.hpp index c5ea85f7..a059c38a 100644 --- a/include/musica/micm.hpp +++ b/include/musica/micm.hpp @@ -281,7 +281,8 @@ namespace musica /// @brief Standard-ordered Backward Euler using BackwardEulerStandardType = typename micm::BackwardEulerSolverParameters:: template SolverType>; - using BackwardEulerStandard = micm::Solver>; + using BackwardEulerStandard = + micm::Solver>; std::unique_ptr backward_euler_standard_; /// @brief Returns the number of grid cells diff --git a/src/micm/micm.cpp b/src/micm/micm.cpp index 9f544aed..be240501 100644 --- a/src/micm/micm.cpp +++ b/src/micm/micm.cpp @@ -378,14 +378,13 @@ namespace musica solver_config.ReadAndParse(std::filesystem::path(config_path)); solver_parameters_ = std::make_unique(solver_config.GetSolverParams()); - backward_euler_standard_ = - std::make_unique(micm::CpuSolverBuilder( - micm::BackwardEulerSolverParameters()) - .SetSystem(solver_parameters_->system_) - .SetReactions(solver_parameters_->processes_) - .SetNumberOfGridCells(num_grid_cells_) - .SetIgnoreUnusedSpecies(true) - .Build()); + backward_euler_standard_ = std::make_unique( + micm::CpuSolverBuilder(micm::BackwardEulerSolverParameters()) + .SetSystem(solver_parameters_->system_) + .SetReactions(solver_parameters_->processes_) + .SetNumberOfGridCells(num_grid_cells_) + .SetIgnoreUnusedSpecies(true) + .Build()); DeleteError(error); *error = NoError();