File tree Expand file tree Collapse file tree
power_grid_model_c/power_grid_model/include/power_grid_model/math_solver Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -378,14 +378,6 @@ template <symmetry_tag sym> class YBus {
378378 return 0 <= idx && idx < std::ssize (math_model_param_.source_param );
379379 }));
380380
381- assert (
382- std::ranges::equal (math_model_param_incrmt.source_param ,
383- math_model_param_incrmt.source_param_to_change |
384- std::views::transform ([&](auto idx) { return math_model_param_.source_param [idx]; }),
385- [](auto const & lhs, auto const & rhs) { return lhs.y1 == rhs.y1 && lhs.y0 == rhs.y0 ; }) &&
386- " updateable source params currently do not affect y1 and y0, so the new values should be the same as old "
387- " values" );
388-
389381 for (auto const & [idx_to_change, params] :
390382 std::views::zip (math_model_param_incrmt.branch_param_to_change , math_model_param_incrmt.branch_param )) {
391383 math_model_param_.branch_param [idx_to_change] = params;
You can’t perform that action at this time.
0 commit comments