10
0
mirror of https://github.com/QuantumPackage/qp2.git synced 2024-07-22 18:57:36 +02:00

Merge pull request #232 from Ydrnan/qp2_add

avoid uninitialized phase in get_excitation
This commit is contained in:
Anthony Scemama 2023-01-17 13:50:44 +01:00 committed by GitHub
commit d2f234afb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,6 +126,8 @@ subroutine get_excitation(det1,det2,exc,degree,phase,Nint)
return
case(0)
! Avoid uninitialized phase
phase = 1d0
return
end select