mirror of
https://github.com/sfilippone/psblas3.git
synced 2026-10-20 04:42:08 +00:00
Fix bug in size estimate for CSR with diagonal matrices.
This commit is contained in:
@@ -81,7 +81,7 @@ subroutine psb_cest(afmt, m,n,nnz, lia1, lia2, lar, iup, info)
|
||||
lar = nnz
|
||||
else if(afmt.eq.'CSR') then
|
||||
lia1 = nnz
|
||||
lia2 = nnz
|
||||
lia2 = max(nnz,m+1)
|
||||
lar = nnz
|
||||
else
|
||||
info = 136
|
||||
|
||||
Reference in New Issue
Block a user