Skip to content

Commit d493c76

Browse files
jvdp1milancurcic
andauthored
Update doc/specs/stdlib_experimental_stats.md
Co-authored-by: Milan Curcic <[email protected]>
1 parent 4208433 commit d493c76

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/specs/stdlib_experimental_stats.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The Pearson correlation between two rows (or columns), say `x` and `y`, of `arra
3232

3333
### Return value
3434

35-
If `array` is of rank 1 and of type `real` or `complex`, the result is of type `real` corresponding to the type of `array`.
35+
If `array` is of rank 1 and of type `real` or `complex`, the result is of type `real` and has the same kind as `array`.
3636
If `array` is of rank 2 and of type `real` or `complex`, the result is of the same type as `array`.
3737
If `array` is of type `integer`, the result is of type `real(dp)`.
3838

@@ -281,4 +281,3 @@ program demo_var
281281
print *, var(y, 1, y > 3., corrected=.false.) !returns [NaN, 0., 0.25]
282282
end program demo_var
283283
```
284-

0 commit comments

Comments
 (0)