From fccdf2ced51815b26870c1c70c7e3c0c089a7097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Legat?= Date: Mon, 27 May 2024 17:38:40 +0200 Subject: [PATCH] Update src/implementations/SparseArrays.jl --- src/implementations/SparseArrays.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/implementations/SparseArrays.jl b/src/implementations/SparseArrays.jl index bea621b..254c557 100644 --- a/src/implementations/SparseArrays.jl +++ b/src/implementations/SparseArrays.jl @@ -17,7 +17,7 @@ function undef_array( return SparseArrays.spzeros(Tv, Ti, length(rows), length(cols)) end -function operate!(::typeof(zero), v::SparseArrays.SparseVec) +function operate!(::typeof(zero), v::SparseArrays.SparseVector) empty!(v.nzind) empty!(v.nzval) return v