summaryrefslogtreecommitdiffstats
path: root/core/subsurface-qt/SettingsObjectWrapper.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2016-08-29 20:05:20 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-08-29 21:43:19 -0700
commitd8a6b917a5ec2d3be40908864d74faed8b0e47b2 (patch)
tree95d6bb5163824327cc23355a69f85a7a31c70f60 /core/subsurface-qt/SettingsObjectWrapper.h
parent5a66ac7698afbe82e3d55549fd63590918d0a3d9 (diff)
downloadsubsurface-d8a6b917a5ec2d3be40908864d74faed8b0e47b2.tar.gz
Teach 'interpolate()' about zero-sized ranges
No, they don't make sense. We should normally not have multiple samples that are on the same second. But they seem to happen on the EON Steel under some circumstances, and instead of dividing by zero when trying to interpolate across such a sample, do something sane. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/subsurface-qt/SettingsObjectWrapper.h')
0 files changed, 0 insertions, 0 deletions