Skip to content

Commit

Permalink
Merge pull request #290 from giovannipizzi/fix_unused_bnddataunit
Browse files Browse the repository at this point in the history
Fix an unused variable that was creating a SEGFAULT
  • Loading branch information
jryates authored Sep 22, 2019
2 parents c658e7e + bcb1648 commit 7e02e02
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/postw90/kslice.F90
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ subroutine k_slice
fermi_lines_color, heatmap, plot_shc
character(len=120) :: filename, square

integer, allocatable :: bnddataunit(:)
complex(kind=dp), allocatable :: HH(:, :)
complex(kind=dp), allocatable :: delHH(:, :, :)
complex(kind=dp), allocatable :: UU(:, :)
Expand Down Expand Up @@ -349,7 +348,6 @@ subroutine k_slice
n1 = n/100
n2 = (n - n1*100)/10
n3 = n - n1*100 - n2*10
bnddataunit(n) = io_file_unit()
filename = trim(seedname)//'-bnd_' &
//achar(48 + n1)//achar(48 + n2)//achar(48 + n3)//'.dat'

Expand Down

0 comments on commit 7e02e02

Please sign in to comment.