Skip to content

Commit

Permalink
Update input.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Sep 9, 2024
1 parent 93ca450 commit 5b94a19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions input.cc
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,12 @@ auto get_phixsupperlevel_tmp(const std::vector<PhotoionTarget> &temp_allphixstar

void read_phixs_data_table(std::fstream &phixsfile, const int nphixspoints_inputtable, const int element,
const int lowerion, const int lowerlevel, const int upperion, int upperlevel_in,
std::vector<float> &tmpallphixs, std::vector<PhotoionTarget> &temp_allphixstargets,
size_t *mem_usage_phixs, const int phixs_file_version) {
std::vector<float> &tmpallphixs, auto &temp_allphixstargets, size_t *mem_usage_phixs,
const int phixs_file_version) {
std::string phixsline;
assert_always(globals::elements[element].ions[lowerion].levels[lowerlevel].phixstargetstart == -1);
globals::elements[element].ions[lowerion].levels[lowerlevel].phixstargetstart =
static_cast<int>(std::ssize(temp_allphixstargets));
static_cast<int>(temp_allphixstargets.size());
if (upperlevel_in >= 0) { // file gives photoionisation to a single target state only
int upperlevel = upperlevel_in - groundstate_index_in;
assert_always(upperlevel >= 0);
Expand Down

0 comments on commit 5b94a19

Please sign in to comment.