@@ -6,6 +6,7 @@ pub struct ProgressCounters {
66 pub reference : Arc < RelaxedCounter > ,
77 pub reference_maximum : Arc < RelaxedCounter > ,
88 pub series_approximation : Arc < RelaxedCounter > ,
9+ pub min_series_approximation : Arc < RelaxedCounter > ,
910 pub series_validation : Arc < RelaxedCounter > ,
1011 pub iteration : Arc < RelaxedCounter > ,
1112 pub glitched_maximum : Arc < RelaxedCounter > ,
@@ -17,6 +18,7 @@ impl ProgressCounters {
1718 reference : Arc :: new ( RelaxedCounter :: new ( 0 ) ) ,
1819 reference_maximum : Arc :: new ( RelaxedCounter :: new ( maximum_iteration - 1 ) ) ,
1920 series_approximation : Arc :: new ( RelaxedCounter :: new ( 0 ) ) ,
21+ min_series_approximation : Arc :: new ( RelaxedCounter :: new ( 0 ) ) ,
2022 series_validation : Arc :: new ( RelaxedCounter :: new ( 0 ) ) ,
2123 iteration : Arc :: new ( RelaxedCounter :: new ( 0 ) ) ,
2224 glitched_maximum : Arc :: new ( RelaxedCounter :: new ( 0 ) ) ,
@@ -26,6 +28,7 @@ impl ProgressCounters {
2628 // TODO just set these to zero rather than reset
2729 // Reset without the series approximation changed
2830 pub fn reset ( & mut self ) {
31+ self . min_series_approximation = Arc :: new ( RelaxedCounter :: new ( 0 ) ) ;
2932 self . series_validation = Arc :: new ( RelaxedCounter :: new ( 0 ) ) ;
3033 self . iteration = Arc :: new ( RelaxedCounter :: new ( 0 ) ) ;
3134 self . glitched_maximum = Arc :: new ( RelaxedCounter :: new ( 0 ) ) ;
0 commit comments