Skip to content

Commit

Permalink
clarify types for rust/pull/44287
Browse files Browse the repository at this point in the history
  • Loading branch information
Eh2406 committed Sep 14, 2017
1 parent 9daef2c commit b8d31c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/quantile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
Expand Down

0 comments on commit b8d31c8

Please sign in to comment.