Merge pull request #2 from Eh2406/master
clarify types for rust/pull/44287
This commit is contained in:
commit
e2e799e02a
@ -168,7 +168,8 @@ impl Estimate for Quantile {
|
||||
} else {
|
||||
self.q[i] = self.linear(i, d);
|
||||
}
|
||||
self.n[i] += d.approx().unwrap(); // d == +-1
|
||||
let delta: i64 = d.approx().unwrap(); // d == +-1
|
||||
self.n[i] += delta;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user