remove small_to_zero!

This commit is contained in:
kalmar 2017-06-21 16:41:07 +02:00
parent 0c1c816264
commit 3c8c3e4e2a

View File

@ -54,7 +54,6 @@ function sparsify!{T}(U::SparseMatrixCSC{T}, eps=eps(T))
end
sparsify{T}(U::SparseMatrixCSC{T}, eps=eps(T)) = sparsify!(deepcopy(U), eps)
small_to_zero!{T}(A::AbstractArray{T}, eps=eps(T)) = A[abs(A) .< eps] = zero(T)
function init_model(Uπs)
m = JuMP.Model();