diff options
author | 2015-11-01 13:22:08 -0800 | |
---|---|---|
committer | 2015-11-01 13:22:08 -0800 | |
commit | 852c9f4e3bfdff9731cffd407a187ed92e919d9e (patch) | |
tree | 5d6a7eb7821f77d293cdb2780b6335869449fba4 /deco.c | |
parent | f2ff2022e6f7916253bd2c106092b6254f3e6b6e (diff) | |
parent | ad660da6d10f847aec1b30b333a82720efd7e6a9 (diff) | |
download | subsurface-852c9f4e3bfdff9731cffd407a187ed92e919d9e.tar.gz |
Merge branch 'for_dirk' of https://github.com/atdotde/subsurface
Diffstat (limited to 'deco.c')
-rw-r--r-- | deco.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -244,7 +244,7 @@ double tissue_tolerance_calc(const struct dive *dive, double pressure) double lowest_ceiling = 0.0; double tissue_lowest_ceiling[16]; - if (prefs.deco_mode != VPMB || !in_planner()) { + if (prefs.deco_mode != VPMB) { for (ci = 0; ci < 16; ci++) { tissue_inertgas_saturation[ci] = tissue_n2_sat[ci] + tissue_he_sat[ci]; buehlmann_inertgas_a[ci] = ((buehlmann_N2_a[ci] * tissue_n2_sat[ci]) + (buehlmann_He_a[ci] * tissue_he_sat[ci])) / tissue_inertgas_saturation[ci]; @@ -509,7 +509,7 @@ void add_segment(double pressure, const struct gasmix *gasmix, int period_in_sec tissue_n2_sat[ci] += n2_satmult * pn2_oversat * n2_f; tissue_he_sat[ci] += he_satmult * phe_oversat * he_f; } - if(prefs.deco_mode == VPMB && in_planner()) + if(prefs.deco_mode == VPMB) calc_crushing_pressure(pressure); return; } |