On 01 Jun 2014, at 17:48, Henrik Brautaset Aronsen <[email protected]> 
wrote:

> Yeah, I figured it would break somehow.  I guess we should just do the "0 is 
> air" thingie as we read/parse the divelog, and nowhere else.


I have the same feelings as Henrik, there are commit messages to witness this 
but came to terms with it. The mental trick is to treat struct gasmix as on 
opaque type. Never try to look inside. Access it with get_o2(), get_he() and 
is_air(), you only run into problems when you try to use .permille. Don’t.

git grep permille

still shows a number of places for easy improvement (not all of course).

Just my $.02

Robert

--                                                                              
.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    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 

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

Reply via email to