Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tgeoghegan committed Sep 12, 2023
1 parent c5cf264 commit ac8f5fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ impl VdafInstance {
///
/// # Bugs
///
/// Janus should allow chunk size to be configured: https://github.com/divviup/janus/issues/1900
/// Janus should allow chunk size to be configured ([#1900][issue]).
///
/// [VDAF]: https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-vdaf-07#name-selection-of-parallelsum-ch
/// [issue]: https://github.com/divviup/janus/issues/1900
pub fn chunk_size(measurement_length: usize) -> usize {
(measurement_length as f64).sqrt().floor() as usize
}
Expand Down

0 comments on commit ac8f5fb

Please sign in to comment.