On 25-01-18 11:28, Robert Helling wrote:
Hi,

On 25. Jan 2018, at 10:16, Rick Walsh <[email protected] <mailto:[email protected]>> wrote:

    2) Even more important, at the bottom it says that the dive
    requires 1245 litres of gas, more than is in the cylinder. But
    this is wrong because the 12 litre 232 bar cylinder takes 2784 litres.


That looks like a bug. I'm guessing the calculation here assumes the starting pressure was zero. If you don't enter a starting pressure, the planner should assume cylinder working pressure.

I am not sure I would call this a bug. If there is no starting pressure we simply don’t know how much gas we have, so we cannot base any calculation on this. One could argue that the starting pressure should be initialised with the working pressure and I just pushed a commit to that amount but I am not sure that it’s obvious we want this.

The other problem I will look into later today.

And I just found an endless loop related to no starting pressure and rec. mode, but not sure why (yet).

I start "plan", clear 4 unused cylinders, change to a small 10L cylinder, and when clearing the start pressure it loops forever.

--jan
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to