Skip to content

Commit

Permalink
add family compatibilty function
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Dec 4, 2024
1 parent cf79a25 commit 206973b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/libs/antares/study/parameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,6 +1086,19 @@ static bool SGDIntLoadFamily_SeedsMersenneTwister(Parameters& d,
return false;
}

static bool SGDIntLoadFamily_Compatibility(Parameters& d,
const String& key,
const String& value,
const String&)
{
if (key == "hydro-pmax")
{
return StringToCompatibilityHydroPmax(d.compatibility.hydroPmax, value);
}

return false;
}

static bool SGDIntLoadFamily_Legacy(Parameters& d,
const String& key,
const String& value,
Expand Down

0 comments on commit 206973b

Please sign in to comment.