Skip to content

Commit

Permalink
Make sure we dont get very tiny numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
rjfarmer committed Jun 29, 2023
1 parent 0d7bbd7 commit 0780e02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib_bbq.f90
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,10 @@ subroutine do_clean1(species, xa, ierr)
return
end if
xa(1: species) = xa(1: species)/xsum
do j = 1, species
if (xa(j) < tiny_x) xa(j) = tiny_x
end do

end subroutine do_clean1


Expand Down

0 comments on commit 0780e02

Please sign in to comment.