diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2021-01-23 13:44:24 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2021-01-23 13:44:24 -0500 |
| commit | 8702a4095f0d86949b69d379f587f4037d6516fd (patch) | |
| tree | 005d5c2ade491ee2464d67dce92e3341854c3e06 /print.go | |
| parent | a2245a9a1653dc25e899ea8b090d2c6be48b00a3 (diff) | |
| download | stats-8702a4095f0d86949b69d379f587f4037d6516fd.tar.gz stats-8702a4095f0d86949b69d379f587f4037d6516fd.tar.xz | |
Add working tests. Fix issue with min/max.
Diffstat (limited to 'print.go')
| -rw-r--r-- | print.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ func (s *Stats) PrettyStats() string { Standard Deviation: %.2f Skewness: %.2f Kurtosis: %.2f -`, s.Min, s.Max, s.Mean(), s.Variance(), s.StandardDeviation(), s.Skewness(), s.Kurtosis()) +`, s.Min(), s.Max(), s.Mean(), s.Variance(), s.StandardDeviation(), s.Skewness(), s.Kurtosis()) } // Returns a string containing all of the data within the struct |
