Remove debug from repetitions.rs
This commit is contained in:
+1
-4
@@ -417,10 +417,7 @@ impl RepetitionsState {
|
||||
for (date, activity) in history {
|
||||
let distance = now - *date;
|
||||
let index = counts.len() as i64 - distance.num_days() - 1;
|
||||
|
||||
if index == 210 {
|
||||
println!("invalid index")
|
||||
}
|
||||
|
||||
if index < 0 {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user