Skip to content

Commit

Permalink
fixed logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kent0 committed Mar 24, 2024
1 parent 76b4db1 commit 781fcb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/batch.f
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ subroutine breduce(a,n,m)
if (m.gt.lbat) m = lbat
i=1

do while (i.lt.n)
do while (i.le.n)
call gop(a(i),w,'+ ',1,min(m,n-i+1))
i=i+m
enddo
Expand Down

0 comments on commit 781fcb1

Please sign in to comment.