10
0
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:
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