diff --git a/sources.c b/sources.c index d0e494a..af177a2 100644 --- a/sources.c +++ b/sources.c @@ -1227,7 +1227,6 @@ SRC_ReloadSources(void) LOG(LOGS_WARN, LOGF_Sources, "Could not open dump file %s", filename); } else { if (SST_LoadFromFile(sources[i]->stats, in)) { - SST_DoNewRegression(sources[i]->stats); } else { LOG(LOGS_WARN, LOGF_Sources, "Problem loading from file %s", filename); } diff --git a/sourcestats.c b/sourcestats.c index 1ecff41..9a6371c 100644 --- a/sourcestats.c +++ b/sourcestats.c @@ -897,9 +897,9 @@ SST_LoadFromFile(SST_Stats inst, FILE *in) inst->runs_samples = 0; find_min_delay_sample(inst); + SST_DoNewRegression(inst); return 1; - } /* ================================================== */