Skip to content

Commit

Permalink
Merge pull request #36 from ExpandingMan/ilog2fix
Browse files Browse the repository at this point in the history
fixed ilog2 function missing from scope
  • Loading branch information
blegat authored Feb 20, 2020
2 parents d10c6c3 + 4b6aed4 commit 719f64e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparse_arrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ function mutable_operate!(::typeof(add_mul), ret::SparseMat{T},
return ret
end
# Taken from `SparseArrays.prefer_sort` added in Julia v1.1.
prefer_sort(nz::Integer, m::Integer) = m > 6 && 3 * ilog2(nz) * nz < m
prefer_sort(nz::Integer, m::Integer) = m > 6 && 3 * SparseArrays.ilog2(nz) * nz < m
function mutable_operate!(::typeof(add_mul), ret::SparseMat{T},
A::SparseMat, B::TransposeOrAdjoint{<:Any, <:SparseMat},
α::Vararg{Union{T, Scaling}, N}) where {T, N}
Expand Down

0 comments on commit 719f64e

Please sign in to comment.