From 46743f8c7a9053b13d54c8d2601fda4c7e2ccf56 Mon Sep 17 00:00:00 2001 From: Folkert Nobels <nobels@strw.leidenuniv.nl> Date: Wed, 19 Dec 2018 09:17:36 +0100 Subject: [PATCH] Do a correct unit conversion between cm^(-3) and your distance unit^(-3) --- src/starformation/schaye08/starformation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/starformation/schaye08/starformation.h b/src/starformation/schaye08/starformation.h index 888382c0e3..68a3a5dfa9 100644 --- a/src/starformation/schaye08/starformation.h +++ b/src/starformation/schaye08/starformation.h @@ -316,7 +316,7 @@ INLINE static void starformation_init_backend( /* Conversion of number density from cgs */ static const float dimension_numb_den[5] = {0, -3, 0, 0, 0}; const double conversion_numb_density = - 1.f / units_general_cgs_conversion_factor(us, dimension_numb_den); + units_general_cgs_conversion_factor(us, dimension_numb_den); /* Quantities that have to do with the Normal Kennicutt- * Schmidt law will be read in this part of the code*/ -- GitLab