Skip to content

Commit 4755349

Browse files
jalveszjvdp1
andauthored
Update src/sparse/stdlib_sparse_kinds.fypp
Co-authored-by: Jeremie Vandenplas <jeremie.vandenplas@gmail.com>
1 parent 0811476 commit 4755349

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/sparse/stdlib_sparse_kinds.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ contains
375375
call move_alloc(from=temp_idx,to=self%col)
376376

377377
if(.not.allocated(self%rowptr)) then
378-
allocate(temp_idx(num_brows+1) , source = 0 )
378+
allocate(temp_idx(num_brows+1) , source = 0_ilp )
379379
else
380380
allocate(temp_idx(num_brows+1) , source = self%rowptr )
381381
end if

0 commit comments

Comments
 (0)