# HG changeset patch
# User heinrichsweikamp
# Date 1403538258 -7200
# Node ID 109df032cc548096e578d6e4715545429892e47a
# Parent  f3062a611eef44f97ef5bfdad9687647d59901d0
minor fix: assert should pass for pure helium diluant

diff -r f3062a611eef -r 109df032cc54 src/p2_deco.c
--- a/src/p2_deco.c	Mon Jun 23 16:14:33 2014 +0200
+++ b/src/p2_deco.c	Mon Jun 23 17:44:18 2014 +0200
@@ -823,7 +823,7 @@
     }
 
     assert( 0.0 <= calc_N2_ratio && calc_N2_ratio <= 0.95 );
-    assert( 0.0 <= calc_He_ratio && calc_He_ratio <= 0.95 );
+    assert( 0.0 <= calc_He_ratio && calc_He_ratio <= 1.00 );
     assert( (calc_N2_ratio + calc_He_ratio) <= 1.00 );
 }
 
@@ -1064,7 +1064,7 @@
 {
     assert( 0.00 <= N2_ratio && N2_ratio <= 1.00 );
     assert( 0.00 <= He_ratio && He_ratio <= 1.00 );
-    assert( (N2_ratio + He_ratio) <= 0.95 );
+    assert( (N2_ratio + He_ratio) <= 1.00 );
     assert( 0.800 < pres_respiration && pres_respiration < 14.0 );
 
     pres_diluent = pres_respiration;