Skip to content

Commit

Permalink
Merge pull request #850 from PowerGridModel/fix/nightly-build
Browse files Browse the repository at this point in the history
fix nightly build clang-tidy
  • Loading branch information
Jerry-Jinfeng-Guo authored Dec 3, 2024
2 parents f70233b + 943ae98 commit 07df291
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/cpp_unit_tests/test_math_solver_pf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ template <symmetry_tag sym_type> struct PFSolverTestGrid : public SteadyStateSol
};

TEST_CASE_TEMPLATE_DEFINE("Test math solver - PF", SolverType, test_math_solver_pf_id) {
using sym = SolverType::sym;
using sym = typename SolverType::sym;

PFSolverTestGrid<sym> grid;

Expand Down
6 changes: 3 additions & 3 deletions tests/cpp_unit_tests/test_math_solver_se.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ TEST_CASE_TEMPLATE_DEFINE("Test math solver - SE", SolverType, test_math_solver_
constexpr auto error_tolerance{1e-10};
constexpr auto num_iter{20};

using sym = SolverType::sym;
using sym = typename SolverType::sym;

SESolverTestGrid<sym> grid;
SESolverTestGrid<sym> const grid;

// topo and param ptr
auto param_ptr = std::make_shared<MathModelParam<sym> const>(grid.param());
auto topo_ptr = std::make_shared<MathModelTopology const>(grid.topo());
YBus<sym> y_bus{topo_ptr, param_ptr};
YBus<sym> const y_bus{topo_ptr, param_ptr};

SUBCASE("Test se with angle") {
SolverType solver{y_bus, topo_ptr};
Expand Down

0 comments on commit 07df291

Please sign in to comment.