Change time to use i64 instead of u64

This commit is contained in:
2022-06-28 23:18:55 +02:00
parent 6125a81696
commit 22c61d47b1
8 changed files with 117 additions and 22 deletions

View File

@@ -223,7 +223,7 @@ pub(crate) fn sort_perm(x: &[f64], reverse: bool) -> Vec<usize> {
v.into_iter().map(|(i, _)| i).collect()
}
pub(crate) fn sort_time(xs: &[u64], reverse: bool) -> Vec<usize> {
pub(crate) fn sort_time(xs: &[i64], reverse: bool) -> Vec<usize> {
let mut x = xs.iter().enumerate().collect::<Vec<_>>();
if reverse {