Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
  • Loading branch information
mgovers committed Jul 2, 2024
1 parent 9fa0d5d commit 8f73544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion power_grid_model_c/power_grid_model_c/src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ PGM_PowerGridModel* PGM_create_model(PGM_Handle* handle, double system_frequency
// update model
void PGM_update_model(PGM_Handle* handle, PGM_PowerGridModel* model, PGM_ConstDataset const* update_dataset) {
call_with_catch(
handle, [model, update_dataset] { model->update_component<MainModel::permanent_update_t>(*update_dataset); },
handle, [model, update_dataset] { model->update_component<permanent_update_t>(*update_dataset); },
PGM_regular_error);
}

Expand Down

0 comments on commit 8f73544

Please sign in to comment.