mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
divesummary: correct SAC calculation
Do not count dives where SAC == 0. Signed-off-by: jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
303b5865cd
commit
eec1511218
2 changed files with 13 additions and 5 deletions
|
@ -24,5 +24,6 @@ private:
|
|||
static long divetime[2], depth[2], sac[2];
|
||||
static long divetimeMax[2], depthMax[2], sacMin[2];
|
||||
static long divetimeAvg[2], depthAvg[2], sacAvg[2];
|
||||
static int divesSAC[2];
|
||||
};
|
||||
#endif // DIVESUMMARY_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue