Skip to content

Commit

Permalink
make struct SparseMatrixCOO immutable
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxenceGollier authored and dpo committed Dec 21, 2024
1 parent 3d8a3d8 commit caa5f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coo_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Supertype for matrix in sparse coordinate format (COO).
"""
abstract type AbstractSparseMatrixCOO{Tv, Ti <: Integer} <: AbstractSparseMatrix{Tv, Ti} end

mutable struct SparseMatrixCOO{Tv, Ti <: Integer} <: AbstractSparseMatrixCOO{Tv, Ti}
struct SparseMatrixCOO{Tv, Ti <: Integer} <: AbstractSparseMatrixCOO{Tv, Ti}
m::Int
n::Int
rows::Vector{Ti}
Expand Down

0 comments on commit caa5f76

Please sign in to comment.