Skip to content

Commit 941de3a

Browse files
jalveszjvdp1
andauthored
Update doc/specs/stdlib_sparse.md
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent 2f56cd4 commit 941de3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/specs/stdlib_sparse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Type-bound procedures to enable adding or requesting data in/from a sparse matri
163163

164164
`i`, `intent(in)` : Shall be an integer value.
165165
`j`, `intent(in)` : Shall be an integer value.
166-
`v`, `result` : Shall be a `real` or `complex` value in accordance to the declared sparse matrix object. If the `ij` tuple is within the sparse pattern, `v` returns the value in the data buffer. If the `ij` tuple is outside the sparse pattern, `v` returns `0`. If the `ij` tuple is outside the matrix pattern `(nrows,ncols)`, `v` returns `NaN`.
166+
`v`, `result` : Shall be a `real` or `complex` value in accordance to the declared sparse matrix object. If the `ij` tuple is within the sparse pattern, `v` contains the value in the data buffer. If the `ij` tuple is outside the sparse pattern, `v` is equal `0`. If the `ij` tuple is outside the matrix pattern `(nrows,ncols)`, `v` is `NaN`.
167167

168168
## Example
169169
```fortran

0 commit comments

Comments
 (0)