Skip to content

Commit

Permalink
fix typo in TabulatedCooling
Browse files Browse the repository at this point in the history
  • Loading branch information
BenWibking committed Apr 14, 2024
1 parent ef2ec77 commit bea4ada
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/TabulatedCooling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ void readCloudyData(std::string &hdf5_file, cloudy_tables &cloudyTables)
initialize_cloudy_data(cloudy, hdf5_file, my_units);
cloudyTables.T_min = cloudy.T_min;
cloudyTables.T_max = cloudy.T_max;
cloudyTables.mmw_min = cloudyTables.mmw_min;
cloudyTables.mmw_max = cloudyTables.mmw_max;
cloudyTables.mmw_min = cloudy.mmw_min;
cloudyTables.mmw_max = cloudy.mmw_max;
cloudyTables.log_nH = std::make_unique<amrex::TableData<double, 1>>(copy_1d_table(cloudy.grid_parameters[0]));
cloudyTables.log_Tgas = std::make_unique<amrex::TableData<double, 1>>(copy_1d_table(cloudy.grid_parameters[1]));
cloudyTables.cooling = std::make_unique<amrex::TableData<double, 2>>(extract_2d_table(cloudy.cooling_data));
Expand All @@ -46,6 +46,7 @@ auto cloudy_tables::const_tables() const -> cloudyGpuConstTables
T_max,
mmw_min,
mmw_max};

return tables;
}

Expand Down

0 comments on commit bea4ada

Please sign in to comment.