Skip to content

Commit 4eb6615

Browse files
committed
address comments
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
1 parent b25a40d commit 4eb6615

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

power_grid_model_c/power_grid_model/include/power_grid_model/math_solver/newton_raphson_se_solver.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ template <symmetry_tag sym_type> class NewtonRaphsonSESolver {
337337
break;
338338
case AngleMeasurementType::global_angle:
339339
throw SparseMatrixError{};
340-
break;
341340
default:
342341
assert(measurement.angle_measurement_type == AngleMeasurementType::local_angle ||
343342
measurement.angle_measurement_type == AngleMeasurementType::global_angle);
@@ -355,7 +354,6 @@ template <symmetry_tag sym_type> class NewtonRaphsonSESolver {
355354
break;
356355
case AngleMeasurementType::global_angle:
357356
throw SparseMatrixError{};
358-
break;
359357
default:
360358
assert(measurement.angle_measurement_type == AngleMeasurementType::local_angle ||
361359
measurement.angle_measurement_type == AngleMeasurementType::global_angle);

tests/cpp_unit_tests/test_math_solver_se.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ TEST_CASE_TEMPLATE_DEFINE("Test math solver - SE", SolverType, test_math_solver_
305305
// topo and param ptr
306306
auto param_ptr = std::make_shared<MathModelParam<sym> const>(grid.param());
307307

308-
SUBCASE("Test se with pwoer sensors") {
308+
SUBCASE("Test se with power sensors") {
309309
auto topo_ptr = std::make_shared<MathModelTopology const>(grid.se_topo_power_sensors());
310310
YBus<sym> const y_bus{topo_ptr, param_ptr};
311311

0 commit comments

Comments
 (0)