Skip to content

Commit 94844a9

Browse files
make struct SparseMatrixCOO immutable
1 parent 3d8a3d8 commit 94844a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coo_types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Supertype for matrix in sparse coordinate format (COO).
77
"""
88
abstract type AbstractSparseMatrixCOO{Tv, Ti <: Integer} <: AbstractSparseMatrix{Tv, Ti} end
99

10-
mutable struct SparseMatrixCOO{Tv, Ti <: Integer} <: AbstractSparseMatrixCOO{Tv, Ti}
10+
struct SparseMatrixCOO{Tv, Ti <: Integer} <: AbstractSparseMatrixCOO{Tv, Ti}
1111
m::Int
1212
n::Int
1313
rows::Vector{Ti}

0 commit comments

Comments
 (0)