Fix workspace query corner cases to always return at least 1 (Reference-LAPACK PR 883) (#4146)
* Fix workspace query corner cases to always return at least 1
This commit is contained in:
@@ -232,7 +232,7 @@
|
||||
* Determine the block size
|
||||
*
|
||||
NB = ILAENV( 1, 'CSYTRF', UPLO, N, -1, -1, -1 )
|
||||
LWKOPT = N*NB
|
||||
LWKOPT = MAX( 1, N*NB )
|
||||
WORK( 1 ) = LWKOPT
|
||||
END IF
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user