Skip to content

Commit 531aba7

Browse files
perazzjvdp1
andauthored
Update src/stdlib_linalg_cholesky.fypp
Co-authored-by: Jeremie Vandenplas <jeremie.vandenplas@gmail.com>
1 parent 5850eee commit 531aba7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_linalg_cholesky.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ submodule (stdlib_linalg) stdlib_linalg_cholesky
152152
!> Input matrix a[n,n]
153153
${rt}$, intent(in) :: a(:,:)
154154
!> Output matrix with Cholesky factors c[n,n]
155-
${rt}$, allocatable :: c(:,:)
155+
${rt}$ :: c(size(a, 1),size(a, 2))
156156
!> [optional] is the lower or upper triangular factor required? Default = lower
157157
logical(lk), optional, intent(in) :: lower
158158
!> [optional] should the unused half of the return matrix be zeroed out? Default: yes

0 commit comments

Comments
 (0)