mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-09-01 21:53:40 +02:00
Merge pull request #232 from Ydrnan/qp2_add
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
avoid uninitialized phase in get_excitation
This commit is contained in:
commit
d2f234afb5
@ -126,6 +126,8 @@ subroutine get_excitation(det1,det2,exc,degree,phase,Nint)
|
|||||||
return
|
return
|
||||||
|
|
||||||
case(0)
|
case(0)
|
||||||
|
! Avoid uninitialized phase
|
||||||
|
phase = 1d0
|
||||||
return
|
return
|
||||||
|
|
||||||
end select
|
end select
|
||||||
|
Loading…
Reference in New Issue
Block a user