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

Commit

Permalink
Merge branch 'debug'
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed May 11, 2022
2 parents 3b38ee7 + e20f5d4 commit c1f8ff0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions src/rmvs/rmvs_setup.f90
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,7 @@ module subroutine rmvs_setup_tp(self, n, param)

!> Call allocation method for parent class. In this case, whm does not have its own setup method, so we use the base method for swiftest_tp
call setup_tp(self, n, param)
if (n < 0) return

call self%dealloc()

if (n == 0) return
if (n <= 0) return

allocate(self%lperi(n))
allocate(self%plperP(n))
Expand Down
6 changes: 1 addition & 5 deletions src/symba/symba_setup.f90
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ module subroutine symba_setup_encounter_list(self, n)
integer(I8B), intent(in) :: n !! Number of encounters to allocate space for

call encounter_setup_list(self, n)
if (n < 0_I8B) return

call self%dealloc()

if (n ==0_I8B) return
if (n <= 0_I8B) return

allocate(self%level(n))

Expand Down

0 comments on commit c1f8ff0

Please sign in to comment.