Fix updating of best_single_sample
This commit is contained in:
parent
2f2e524bc6
commit
eeb73b3670
1 changed files with 2 additions and 1 deletions
|
@ -425,9 +425,10 @@ SST_DoNewRegression(SST_Stats inst)
|
||||||
#endif
|
#endif
|
||||||
inst->estimated_frequency = 0.0;
|
inst->estimated_frequency = 0.0;
|
||||||
inst->skew = WORST_CASE_FREQ_BOUND;
|
inst->skew = WORST_CASE_FREQ_BOUND;
|
||||||
|
best_start = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
find_best_sample_index(inst, times_back);
|
find_best_sample_index(inst, times_back + best_start);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue