Skip to content

Commit

Permalink
replace loop by array operation
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoMVale committed Aug 3, 2024
1 parent d681db8 commit a01b3e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/odrpack_core.f90
Original file line number Diff line number Diff line change
Expand Up @@ -4740,9 +4740,7 @@ subroutine dodstp &
! Do QR factorization (with column pivoting of TFJACB if ALPHA = 0)
if (alpha == zero) then
ipvt = 1
do k = 1, np
kpvt(k) = 0
end do
kpvt(1:np) = 0
else
ipvt = 0
end if
Expand Down

0 comments on commit a01b3e9

Please sign in to comment.