[PATCH] Beta Testing - Dive Planner
Robert C. Helling
helling at atdotde.de
Tue Sep 15 06:58:53 PDT 2015
Dirk,
> On 14 Sep 2015, at 18:12, Dirk Hohndel <dirk at hohndel.org <mailto:dirk at hohndel.org>> wrote:
>
> Accessing sample[-1] is not the right thing to do. So even if it may not
> matter because of the way the calculation works out, we should not do
> that. So I'd prefer if there was a conditional statement that prevented us
> from accessing sample[-1].
here is a patch that does an explicit test.
Best
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150915/064282ee/attachment-0002.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Use-the-correct-setpoint-in-planner.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150915/064282ee/attachment-0001.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150915/064282ee/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150915/064282ee/attachment-0001.sig>
More information about the subsurface
mailing list