Skip to content

Commit

Permalink
Update src/rand.F90
Browse files Browse the repository at this point in the history
Co-authored-by: Jeffrey Curtis <[email protected]>
  • Loading branch information
tangwhiap and jcurtis2 authored Dec 3, 2024
1 parent 7bd4ade commit 55ce6d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rand.F90
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,9 @@ subroutine uuid4_str(uuid)

end subroutine uuid4_str

FUNCTION pmc_random_geometric(P)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

integer function pmc_random_geometric(P)
! Generate a random number in geometric distribution with the probability P
! Reference: https://www.ucl.ac.uk/~ucakarc/work/software/randgen.f
implicit none
Expand Down

0 comments on commit 55ce6d0

Please sign in to comment.