seq: remove unused param from write_value_float()

This commit is contained in:
Daniel Hofstetter 2023-08-07 15:22:06 +02:00
parent 2b69803450
commit 6b1c4d1fa9

View file

@ -206,7 +206,6 @@ fn write_value_float(
value: &ExtendedBigDecimal,
width: usize,
precision: usize,
_is_first_iteration: bool,
) -> std::io::Result<()> {
let value_as_str =
if *value == ExtendedBigDecimal::Infinity || *value == ExtendedBigDecimal::MinusInfinity {
@ -279,13 +278,7 @@ fn print_seq(
exit(1);
}
}
None => write_value_float(
&mut stdout,
&value,
padding,
largest_dec,
is_first_iteration,
)?,
None => write_value_float(&mut stdout, &value, padding, largest_dec)?,
}
// TODO Implement augmenting addition.
value = value + increment.clone();