[PATCH] Re: Two patches for dive plan

Rick Walsh rickmwalsh at gmail.com
Sun Nov 27 14:01:31 PST 2016


On 27 November 2016 at 21:35, Robert Helling <helling at atdotde.de> wrote:

>
> Am 26.11.2016 um 23:24 schrieb Anton Lundin <glance at acc.umu.se>:
>
>
> It depends if i step to +1 from +0 or from +2. Timing issue somewhere?
> Weird numeric instability?
>
> Anton, I got even weirder numeric instability for dive with 60min at 30m
on 32% nitrox:


Subsurface dive plan
based on VPM-B at +2 conservatism, effective GF=-2147483648/-2147483648

Runtime: 96min

>
>
>
> Excellent spot! It first compiled the planner notes before computing the
> new gradient factors.
>
> Here is a patch.
>
>
> Robert, your patch fixes the above bug.  Same dive:

Subsurface dive plan
based on VPM-B at +2 conservatism, effective GF=63/63

Runtime: 96min

Cheers,

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20161128/6e295e61/attachment-0001.html>


More information about the subsurface mailing list