# HG changeset patch # User heinrichsweikamp # Date 1441993048 -7200 # Node ID 6ec79c5384f53e4476870c1432550fa3dc82ecb9 # Parent f0828110d8640363d2694159a97033209283dc68 minor diff -r f0828110d864 -r 6ec79c5384f5 src/p2_deco.c --- a/src/p2_deco.c Thu Sep 10 13:05:26 2015 +0200 +++ b/src/p2_deco.c Fri Sep 11 19:37:28 2015 +0200 @@ -576,7 +576,7 @@ pres_gradient = sim_lead_tissue_limit - pres_surface; if (pres_gradient >= 0) { - pres_gradient *= BAR_TO_METER/3; // Bar --> stop number; + pres_gradient *= BAR_TO_METER/3; // bar --> stop number; temp_depth_limit = 3 * (short) (pres_gradient + 0.99); // --> metre : depth for deco need_stop = 1; // Hit. @@ -1032,7 +1032,7 @@ pres_surface = int_I_pres_surface * 0.001; N2_ratio = char_I_N2_ratio * 0.01; He_ratio = char_I_He_ratio * 0.01; - float_deco_distance = char_I_deco_distance * 0.01; // Get offset in BAR + float_deco_distance = char_I_deco_distance * 0.01; // Get offset in mbar // ____________________________________________________ //