[PATCH] Do gas switches even when starting from below the MOD of the bottom gas

Robert C. Helling robert at atdotde.de
Mon Aug 3 08:38:22 PDT 2015


Hi,



this fixes a bug that is somewhat embarrassing since it has to be there forever and nobody found it so far: When planning a dive where the manually entered stops were below the MOD of the “deepest” gas, the planner would not do any gas changes at all since it would constantly try to switch to this deepest gas and find that there is no need to do so since we are already breathing it. Solved by swapping a } and —gi.

Best
Robert

PS: I found it quite curious that git complains to the miscapitalized 

git format-Patch HEAD^
fatal: cannot handle format-Patch as a builtin

rather than with the usual “… is not a git command”.




-- 
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
                      Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
                      http://www.atdotde.de

Enhance your privacy, use cryptography! My PGP keys have fingerprints
A9D1 A01D 13A5 31FA 6515  BB44 0820 367C 36BC 0C1D    and
DCED 37B6 251C 7861 270D  5613 95C7 9D32 9A8D 9B8F





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150803/9eed7e21/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Decrease-gaschange-index-even-if-we-are-already-breath.txt
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150803/9eed7e21/attachment.txt>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20150803/9eed7e21/attachment-0001.html>


More information about the subsurface mailing list