# HG changeset patch # User heinrichsweikamp # Date 1442333495 -7200 # Node ID 1318be33d76f4ffd16e07b1547b032f37fb22dab # Parent 7faa688db10554b485f8d5e834d523a5a2533c0c# Parent 6ec79c5384f53e4476870c1432550fa3dc82ecb9 Merge diff -r 7faa688db105 -r 1318be33d76f src/p2_deco.c --- a/src/p2_deco.c Tue Sep 15 18:11:08 2015 +0200 +++ b/src/p2_deco.c Tue Sep 15 18:11:35 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 // ____________________________________________________ //