Skip to content

Fix nightly build clang-tidy #850

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading