Skip to content

Commit

Permalink
read_mrconne: allocate MULTB_DS
Browse files Browse the repository at this point in the history
  • Loading branch information
kohei-noda-qcrg committed Nov 21, 2024
1 parent 115a4aa commit 205259b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/read_mrconee.f90
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,9 @@ subroutine create_multiplication_table
print '(50I3)', (SD(i, j), j=1, nsymrpa)
End do
end if
if (.not. allocated(MULTB_DS)) then
allocate (MULTB_DS(1:NSYMRPA, 1:NSYMRPA)); Call memplus(size(MULTB_DS), kind(MULTB_DS), 1)
end if
MULTB_DS = transpose(SD)
if (debug .and. rank == 0) then
print *, 'MULTB_DS'
Expand Down

0 comments on commit 205259b

Please sign in to comment.