diff options
Diffstat (limited to 'deco.c')
-rw-r--r-- | deco.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -90,7 +90,7 @@ static double tissue_tolerance_calc(const struct dive *dive) double ret_tolerance_limit_ambient_pressure = 0.0; double gf_high = buehlmann_config.gf_high; double gf_low = buehlmann_config.gf_low; - double surface = dive->dc.surface_pressure.mbar / 1000.0; + double surface = get_surface_pressure_in_mbar(dive, TRUE) / 1000.0; double lowest_ceiling; for (ci = 0; ci < 16; ci++) |