Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion screening/screen.H
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,10 @@ number_t actual_screen5 (const plasma_state_t<number_t>& state,

// machine limit the output
// further limit to avoid the pycnonuclear regime
h12 = admath::max(admath::min(h12, h12_max), 0.0_rt);
h12 = admath::min(h12, h12_max);
if (h12 <= 0.0) {
return 1.0;
}
return admath::exp(h12);
}

Expand Down
Loading