Skip to content

Commit

Permalink
Fix initialization error
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristopherson committed Feb 12, 2024
1 parent 7d933db commit 740eb9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linalg_sparse.f90
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ module function create_empty_msr_matrix(m, n, nnz, err) result(rst)
! Allocation
rst%m = m
rst%n = n
rst%nnz = n
rst%nnz = nnz
mn = min(m, n)
nelem = m + 1 + nnz - mn
allocate(rst%indices(nelem), source = 0, stat = flag)
Expand Down

0 comments on commit 740eb9a

Please sign in to comment.