Skip to content

Commit

Permalink
Update kpkt.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Sep 8, 2024
1 parent 3725440 commit a9e6d2b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions kpkt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -612,15 +612,6 @@ __host__ __device__ void do_kpkt(Packet &pkt, const double t2, const int nts) {
}
}

if (upper < 0) {
printout(
"WARNING: Could not select an upper level. modelgridindex %d i %td element %d ion %d level %d rndcool "
"%g "
"contrib_low %g contrib %g (should match %g) upper %d nuptrans %d\n",
modelgridindex, i, element, ion, level, rndcool_ion_process, contrib_low, contrib,
globals::cellcache[cellcacheslotid].cooling_contrib[i], upper, nuptrans);
std::abort();
}
assert_always(upper >= 0);

if constexpr (TRACK_ION_STATS) {
Expand Down

0 comments on commit a9e6d2b

Please sign in to comment.