Skip to content

Commit

Permalink
Fix -0.0 display error in x32bit architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
MaelLefeuvre committed Nov 29, 2024
1 parent 8870629 commit 0e0ab77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pwd_from_stdin/src/comparisons/comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ impl fmt::Display for Comparison {
{: <AVERG_FORMAT_LEN$.FLOAT_FORMAT_PRECISION$}",
self.get_pair(),
self.positions.len(),
self.get_sum_pwd(),
self.get_avg_pwd(),
self.get_confidence_interval(),
self.get_avg_phred()
self.get_sum_pwd() + 0.0,
self.get_avg_pwd() + 0.0,
self.get_confidence_interval() + 0.0,
self.get_avg_phred() +0.0
)
}
}
Expand Down

0 comments on commit 0e0ab77

Please sign in to comment.