Skip to content
Snippets Groups Projects
Commit f565b934 authored by Dorian Weber's avatar Dorian Weber
Browse files

Debug print bugfix.

parent b25a05d6
Branches
No related merge requests found
...@@ -676,7 +676,7 @@ impl fmt::Debug for RandomVariable { ...@@ -676,7 +676,7 @@ impl fmt::Debug for RandomVariable {
let variance = self.sqr.get() / f64::from(total) - mean * mean; let variance = self.sqr.get() / f64::from(total) - mean * mean;
let std_dev = variance.sqrt(); let std_dev = variance.sqrt();
f.debug_struct("RandomVar") f.debug_struct("RandomVariable")
.field("n", &total) .field("n", &total)
.field("min", &self.min.get()) .field("min", &self.min.get())
.field("max", &self.max.get()) .field("max", &self.max.get())
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment