Skip to content

Commit

Permalink
stop being such a dumbass
Browse files Browse the repository at this point in the history
  • Loading branch information
ggutoski committed Aug 30, 2024
1 parent 1b5d187 commit a1f8154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vid/src/advz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ where
// payload is small: choose the smallest `m` such that `0 < m <
// multiplicity` and the entire payload fits into `m *
// recovery_threshold` elements.
let m = elems.div_ceil(self.recovery_threshold.min(1)).max(1);
let m = elems.div_ceil(self.recovery_threshold.max(1)).max(1);

// TODO TEMPORARY: enforce power-of-2
// https://github.com/EspressoSystems/jellyfish/issues/668
Expand Down

0 comments on commit a1f8154

Please sign in to comment.