Skip to content

Commit

Permalink
fixed ilog2 function missing from scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ExpandingMan committed Feb 19, 2020
1 parent d10c6c3 commit 4b6aed4
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 4b6aed4

Please sign in to comment.