Skip to content

Commit

Permalink
fixed a bug that led to a segfault when loading meltdist array
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Michael Blevins committed Mar 28, 2023
1 parent 144e7df commit 5ab999c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/io/io_read_regotrack.f90
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ subroutine io_read_regotrack(user,surf,domain)

! Start pushing regolith thickness and melt fraction of each layer in FILO manner

allocate(newsurfi%meltdist(domain%rcnum))
allocate(newsurfi%distvol(domain%rcnum))

do j=1,user%gridsize
do i=1,user%gridsize

Expand Down

0 comments on commit 5ab999c

Please sign in to comment.