Use correct table

This commit is contained in:
Guilhem Lavaux 2011-06-06 11:03:25 -04:00
parent 89a87303f1
commit 1135be3bab

View File

@ -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];
}
}