]> git.tdb.fi Git - ext/subsurface.git/commitdiff
Don't repeat redundant minima or maxima in the profile plot
authorDirk Hohndel <dirk@hohndel.org>
Fri, 4 Nov 2011 21:25:20 +0000 (14:25 -0700)
committerDirk Hohndel <dirk@hohndel.org>
Fri, 4 Nov 2011 21:25:20 +0000 (14:25 -0700)
If we have more than four identical depth readings, the old code would see
those as local maxima and minima and print spurious depth values in the
profile plot.

Yes, in real sample data identical readings won't happen - but in
synthetic data they can and there this looks really bogus.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>

No differences found