Skip to content

Commit

Permalink
Merge pull request #149 from parikshitbajpai/malloc_err_148
Browse files Browse the repository at this point in the history
  • Loading branch information
parikshitbajpai authored Oct 10, 2023
2 parents 7cda2ea + f12aa11 commit 2a4e65c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/setup/LevelingSolver.f90
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ subroutine LevelingSolver
end if

if (allocated(dLevel)) then
if( SIZE(iAssemblage) /= nElements) then
if( SIZE(dLevel) /= nElements) then
deallocate(dLevel, STAT=n)
if (n /= 0) then
INFOThermo = 20
Expand All @@ -165,7 +165,7 @@ subroutine LevelingSolver
end if

if (allocated(iterHistoryLevel)) then
if( SIZE(iAssemblage) /= nElements) then
if( SIZE(iterHistoryLevel) /= nElements) then
deallocate(iterHistoryLevel, STAT=n)
if (n /= 0) then
INFOThermo = 20
Expand Down

0 comments on commit 2a4e65c

Please sign in to comment.