Skip to content

Commit 07df291

Browse files
Merge pull request #850 from PowerGridModel/fix/nightly-build
fix nightly build clang-tidy
2 parents f70233b + 943ae98 commit 07df291

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/cpp_unit_tests/test_math_solver_pf.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ template <symmetry_tag sym_type> struct PFSolverTestGrid : public SteadyStateSol
7171
};
7272

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

7676
PFSolverTestGrid<sym> grid;
7777

tests/cpp_unit_tests/test_math_solver_se.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,14 +128,14 @@ TEST_CASE_TEMPLATE_DEFINE("Test math solver - SE", SolverType, test_math_solver_
128128
constexpr auto error_tolerance{1e-10};
129129
constexpr auto num_iter{20};
130130

131-
using sym = SolverType::sym;
131+
using sym = typename SolverType::sym;
132132

133-
SESolverTestGrid<sym> grid;
133+
SESolverTestGrid<sym> const grid;
134134

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

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

0 commit comments

Comments
 (0)