Skip to content

Commit

Permalink
Use a BitArray instead of Array{Bool}
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 22, 2018
1 parent 147e280 commit dfa69c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function diom{T <: Number}(A :: AbstractLinearOperator, b :: AbstractVector{T};
# m-i+2 represents the indice of the diagonal where hᵢ.ₘ is located.
# In addition of that, the last column of Uₘ is stored in H.
L = zeros(mem) # Last mem Pivots of Lₘ.
p = zeros(Bool, mem) # Last mem permutations.
p = BitArray(mem) # Last mem permutations.

# Initial ξ₁ and V₁.
ξ = rNorm
Expand Down

0 comments on commit dfa69c7

Please sign in to comment.