Skip to content

Commit

Permalink
(stage) tweak parameters in current_span
Browse files Browse the repository at this point in the history
  • Loading branch information
shnarazk committed Aug 14, 2024
1 parent 3125d61 commit dc2af71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/solver/stage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ impl StageManager {
/// Note: we need not to make a strong correlation between this value and
/// scale defined by Luby series. So this is fine.
pub fn current_span(&self) -> usize {
// 2 * self.scale
2 + 1 * (1 + self.scale).ilog2() as usize
3 + self.scale.ilog2() as usize
}
pub fn current_stage(&self) -> usize {
self.stage
Expand Down

0 comments on commit dc2af71

Please sign in to comment.