diff --git a/src/QRupdate.jl b/src/QRupdate.jl index 27b81e8..d0e627c 100644 --- a/src/QRupdate.jl +++ b/src/QRupdate.jl @@ -231,7 +231,7 @@ vector. function qraddrow(R::AbstractMatrix{T}, a::AbstractMatrix{T}) where {T} n = size(R,1) - @inbounds @simd for k in 1:n + @inbounds for k in 1:n G, r = givens( R[k,k], a[k], 1, 2 ) B = G * [ reshape(R[k,k:n], 1, n-k+1) reshape(a[:,k:n], 1, n-k+1) ] @@ -271,7 +271,7 @@ function qrdelcol(R::AbstractMatrix{T}, k::Int) where {T} G, y = givens(R[j+1,j], R[k,j], 1, 2) R[j+1,j] = y if j