Skip to content

Commit

Permalink
correction reseau.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: arnaud <[email protected]>
  • Loading branch information
ARnDOSrte committed Oct 16, 2023
1 parent 40f481b commit da01963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrix-simulator/src/reseau.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3039,7 +3039,7 @@ void Reseau::updateVariant(MapQuadinVar& mapping, const config::VariantConfigura
throw ErrorI(err::ioDico().msg("ERRGrpRandomDifferentGrp", c_fmt("%d", variant->num_)));
}
}
if (config.randomGroups.empty()){
if (!config.randomGroups.empty()){
for (const auto& group : groupes_){
if (std::find(config.randomGroups.begin(), config.randomGroups.end(), group.first) == config.randomGroups.end()){
throw ErrorI(err::ioDico().msg("ERRGrpRandomDifferentGrp", c_fmt("%d", variant->num_)));
Expand Down

0 comments on commit da01963

Please sign in to comment.