diff --git a/src/libs/antares/study/parts/common/cluster_list.cpp b/src/libs/antares/study/parts/common/cluster_list.cpp index bc5f8e5aa5..f73ae6bac0 100644 --- a/src/libs/antares/study/parts/common/cluster_list.cpp +++ b/src/libs/antares/study/parts/common/cluster_list.cpp @@ -80,7 +80,7 @@ void ClusterList::clear() template void ClusterList::resizeAllTimeseriesNumbers(uint n) { - each([&](Cluster& cluster) { cluster.series.timeseriesNumbers.resize(1, n); }); + each([&](Cluster& cluster) { cluster.series.timeseriesNumbers.reset(1, n); }); } #define SEP IO::Separator