summaryrefslogtreecommitdiffstats
path: root/core/statistics.h
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2018-02-18 21:55:57 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-02-24 11:45:17 -0800
commit95a23cf4701d4918f866cb5ef1c25a5b2b380096 (patch)
treed4735ee6e8fe357483f88cab290e1749ad303656 /core/statistics.h
parent928e7ed8694e49efdabe3502eef32c4519bf6b0c (diff)
downloadsubsurface-95a23cf4701d4918f866cb5ef1c25a5b2b380096.tar.gz
Use temperature_t for temperatures in struct stats_t
Use struct temperature_t for temperatures in struct stats_t and use get_temperature_string() when printing these temperatures for statistics and HTML export. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'core/statistics.h')
-rw-r--r--core/statistics.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/statistics.h b/core/statistics.h
index 9f045c16c..48e75594d 100644
--- a/core/statistics.h
+++ b/core/statistics.h
@@ -28,9 +28,9 @@ typedef struct
volume_t max_sac;
volume_t min_sac;
volume_t avg_sac;
- int max_temp;
- int min_temp;
- double combined_temp;
+ temperature_t max_temp;
+ temperature_t min_temp;
+ temperature_sum_t combined_temp;
unsigned int combined_count;
unsigned int selection_size;
unsigned int total_sac_time;