Merge pull request #2 from Eh2406/master

clarify types for rust/pull/44287
This commit is contained in:
Vinzent Steinberg 2017-09-14 08:10:09 +02:00 committed by GitHub
commit e2e799e02a

View File

@ -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;
}
}
}