trivial: remove unused macro

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-12-13 17:43:56 +01:00 committed by bstoeger
parent 6f367c70b7
commit d26f1a07cf

View file

@ -151,8 +151,6 @@ static const double vpmb_conservatism_lvls[] = { 1.0, 1.05, 1.12, 1.22, 1.35 };
#define DECO_STOPS_MULTIPLIER_MM 3000.0 #define DECO_STOPS_MULTIPLIER_MM 3000.0
#define NITROGEN_FRACTION 0.79 #define NITROGEN_FRACTION 0.79
#define TISSUE_ARRAY_SZ sizeof(ds->tissue_n2_sat)
static double get_crit_radius_He() static double get_crit_radius_He()
{ {
if (vpmb_config.conservatism <= 4) if (vpmb_config.conservatism <= 4)
@ -465,7 +463,6 @@ void add_segment(struct deco_state *ds, double pressure, struct gasmix gasmix, i
ds->tissue_n2_sat[ci] += n2_satmult * pn2_oversat * n2_f; ds->tissue_n2_sat[ci] += n2_satmult * pn2_oversat * n2_f;
ds->tissue_he_sat[ci] += he_satmult * phe_oversat * he_f; ds->tissue_he_sat[ci] += he_satmult * phe_oversat * he_f;
ds->tissue_inertgas_saturation[ci] = ds->tissue_n2_sat[ci] + ds->tissue_he_sat[ci]; ds->tissue_inertgas_saturation[ci] = ds->tissue_n2_sat[ci] + ds->tissue_he_sat[ci];
} }
if (decoMode(in_planner) == VPMB) if (decoMode(in_planner) == VPMB)
calc_crushing_pressure(ds, pressure); calc_crushing_pressure(ds, pressure);