Skip to content

Commit

Permalink
Remove extra 25 in calculation (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
bee-san authored Dec 27, 2022
1 parent e1feabf commit 73e66b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli_pretty_printing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ pub fn decoded_how_many_times(depth: u32) {
}

// Gets how many decoders we have
// Then we add 25 for Caesar, and roughly 25 for Binary
// Then we add 25 for Caesar
let decoders = crate::filtration_system::filter_and_get_decoders(&DecoderResult::default());
let decoded_times_int = depth * (decoders.components.len() as u32 + 25 + 25);
let decoded_times_int = depth * (decoders.components.len() as u32 + 25);
let decoded_times_str = format!("{} times", decoded_times_int);

let time_took = calculate_time_took(decoded_times_int);
Expand Down

0 comments on commit 73e66b0

Please sign in to comment.