summaryrefslogtreecommitdiffstats
path: root/core/deco.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/deco.c')
-rw-r--r--core/deco.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/deco.c b/core/deco.c
index 6c3d6dd23..628550d6c 100644
--- a/core/deco.c
+++ b/core/deco.c
@@ -174,15 +174,15 @@ double initial_he_gradient[16];
double get_crit_radius_He()
{
- if (prefs.conservatism_level <= 4)
- return vpmb_config.crit_radius_He * conservatism_lvls[prefs.conservatism_level] * subsurface_conservatism_factor;
+ if (prefs.vpmb_conservatism <= 4)
+ return vpmb_config.crit_radius_He * conservatism_lvls[prefs.vpmb_conservatism] * subsurface_conservatism_factor;
return vpmb_config.crit_radius_He;
}
double get_crit_radius_N2()
{
- if (prefs.conservatism_level <= 4)
- return vpmb_config.crit_radius_N2 * conservatism_lvls[prefs.conservatism_level] * subsurface_conservatism_factor;
+ if (prefs.vpmb_conservatism <= 4)
+ return vpmb_config.crit_radius_N2 * conservatism_lvls[prefs.vpmb_conservatism] * subsurface_conservatism_factor;
return vpmb_config.crit_radius_N2;
}