10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-06-01 19:05:25 +02:00

Corrected bug in pt2stoch

This commit is contained in:
Anthony Scemama 2017-02-01 17:00:39 +01:00
parent ca0f0732c2
commit fe5f640346

View File

@ -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