mirror of
https://github.com/LCPQ/quantum_package
synced 2024-11-20 13:02:36 +01:00
Corrected bug in pt2stoch
This commit is contained in:
parent
ca0f0732c2
commit
fe5f640346
@ -295,8 +295,8 @@ integer function pt2_find(v, w, sze, imin, imax)
|
||||
end if
|
||||
end do
|
||||
!DIR$ LOOP COUNT (64)
|
||||
do pt2_find=l,min(l+block,h)
|
||||
if(w(pt2_find+1) > v) then
|
||||
do pt2_find=l,h
|
||||
if(w(pt2_find) >= v) then
|
||||
exit
|
||||
end if
|
||||
end do
|
||||
|
Loading…
Reference in New Issue
Block a user