Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Reduced fail_scale_initial to prevent overflow in the position subrou…
Browse files Browse the repository at this point in the history
…tine
  • Loading branch information
daminton committed Feb 24, 2023
1 parent c107d52 commit 507f4cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fraggle/fraggle_generate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ module subroutine fraggle_generate_disrupt(self, nbody_system, param, t, lfailur
real(DP) :: dE
real(DP), dimension(NDIM) :: dL
character(len=STRMAX) :: message
real(DP), parameter :: fail_scale_initial = 1.01_DP
real(DP), parameter :: fail_scale_initial = 1.0003_DP
integer(I4B) :: nfrag_start

! The minimization and linear solvers can sometimes lead to floating point exceptions. Rather than halting the code entirely if this occurs, we
Expand Down

0 comments on commit 507f4cc

Please sign in to comment.