remove small_to_zero!
This commit is contained in:
parent
0c1c816264
commit
3c8c3e4e2a
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user