diff --git a/src/solver/simulation/common-hydro-remix.cpp b/src/solver/simulation/common-hydro-remix.cpp index 13f8e5d49d..328868252a 100644 --- a/src/solver/simulation/common-hydro-remix.cpp +++ b/src/solver/simulation/common-hydro-remix.cpp @@ -336,7 +336,7 @@ void RemixHydroForAllAreas(const Data::AreaList& areas, if (!result) { - throw new Data::AssertionError( + throw Data::AssertionError( "Error in simplex optimisation. Check logs for more details."); } }