Skip to content

Commit

Permalink
remove double new line in output
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexandreDubray committed May 7, 2024
1 parent 239ed84 commit 058b35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solvers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl Solution {

impl std::fmt::Display for Solution {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
writeln!(f, "Bounds on the probability [{:.8}, {:.8}] found in {} seconds", self.lower_bound, self.upper_bound, self.time_found)
write!(f, "Bounds on the probability [{:.8}, {:.8}] found in {} seconds", self.lower_bound, self.upper_bound, self.time_found)
}
}

Expand Down

0 comments on commit 058b35c

Please sign in to comment.