From 1135be3bab349c1c967d3d00e04e8a132eea7cca Mon Sep 17 00:00:00 2001 From: Guilhem Lavaux Date: Mon, 6 Jun 2011 11:03:25 -0400 Subject: [PATCH] Use correct table --- src/h5_readFlash.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/h5_readFlash.cpp b/src/h5_readFlash.cpp index 0c7b11d..ca040b2 100644 --- a/src/h5_readFlash.cpp +++ b/src/h5_readFlash.cpp @@ -150,13 +150,13 @@ void h5_read_runtime_parameters if (strncmp(real_runtime_parameter_names[i],"xmax",4) == 0 ) { *LBox = real_runtime_parameter_values[i]; } - if (strncmp(int_runtime_parameter_names[i],"hubbleconstant", 14) == 0 ) { + if (strncmp(real_runtime_parameter_names[i],"hubbleconstant", 14) == 0 ) { *hubble = real_runtime_parameter_values[i]; } - if (strncmp(int_runtime_parameter_names[i],"omegamatter", 11) == 0 ) { + if (strncmp(real_runtime_parameter_names[i],"omegamatter", 11) == 0 ) { *omegam = real_runtime_parameter_values[i]; } - if (strncmp(int_runtime_parameter_names[i],"omegaradiation", 11) == 0 ) { + if (strncmp(real_runtime_parameter_names[i],"omegaradiation", 11) == 0 ) { omegarad = real_runtime_parameter_values[i]; } }