Mercurial > public > hwos_code
diff src/p2_deco.c @ 114:109df032cc54
minor fix: assert should pass for pure helium diluant
author | heinrichsweikamp |
---|---|
date | Mon, 23 Jun 2014 17:44:18 +0200 |
parents | c61b7a4e317c |
children | 72259a79eac2 |
line wrap: on
line diff
--- 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;