Temperature statistics are wrong

Linus Torvalds torvalds at linux-foundation.org
Wed Jan 23 11:11:50 PST 2013

On Wed, Jan 23, 2013 at 11:05 AM, Henrik Brautaset Aronsen
<subsurface at henrik.synth.no> wrote:
> In the attached screenshot, the profile shows min = 2˚C and max = 8˚C.  The
> statistics page shows min == med == max == 2˚C.

The statistics aren't actually within one dive, they are within *all*
selected dives (and you have just the one selected dive).

And the water temperature for one dive is considered to be the lowest
temperature for that dive.

So this is actually "correct as designed" and not really a bug.

That said, it's also clearly not "as you'd want it", so patches would
probably be accepted.


More information about the subsurface mailing list