Skip to content

Commit

Permalink
🤖 Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
dpo committed Apr 24, 2024
1 parent 22a64ea commit 45ba84e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/coo_types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -267,5 +267,10 @@ complex(S::SparseMatrixCOO) = SparseMatrixCOO(

import Base.similar

similar(S::SparseMatrixCOO) =
SparseMatrixCOO(size(S,1), size(S,2), similar(rows(S)),similar(columns(S)), similar(nonzeros(S)))
similar(S::SparseMatrixCOO) = SparseMatrixCOO(
size(S, 1),
size(S, 2),
similar(rows(S)),
similar(columns(S)),
similar(nonzeros(S)),
)

0 comments on commit 45ba84e

Please sign in to comment.