Skip to content

Commit

Permalink
Small fix to have some compilers (NAG) not to complain (anyway, with …
Browse files Browse the repository at this point in the history
…the new change

it is more correct as we pass the correct shape to the function)
  • Loading branch information
giovannipizzi committed Jan 11, 2017
1 parent 2f7a566 commit 08215f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/postw90/geninterp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ subroutine geninterp_main()
kpt = localkpoints(:,i)
! Here I get the band energies and the velocities (if required)
if (geninterp_alsofirstder) then
call wham_get_eig_deleig(kpt,localeig(:,i),localdeleig(:,1,i),HH,delHH,UU)
call wham_get_eig_deleig(kpt,localeig(:,i),localdeleig(:,:,i),HH,delHH,UU)
else
call pw90common_fourier_R_to_k(kpt,HH_R,HH,0)
call utility_diagonalize(HH,num_wann,localeig(:,i),UU)
Expand Down

0 comments on commit 08215f6

Please sign in to comment.