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 83133c5 commit c293a70
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions code/batch.f
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@ subroutine breduce(a,n,m)

real a(n)

! remainder k from n / m
if (m.gt.lbat) m = lbat

k = n / m
i=1

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

return
Expand Down

0 comments on commit c293a70

Please sign in to comment.