Fix workspace query corner cases to always return at least 1
This commit is contained in:
parent
84d474e157
commit
ab550d4c9f
|
@ -310,7 +310,7 @@
|
|||
* Determine the block size
|
||||
*
|
||||
NB = ILAENV( 1, 'CSYTRF_RK', UPLO, N, -1, -1, -1 )
|
||||
LWKOPT = N*NB
|
||||
LWKOPT = MAX( 1, N*NB )
|
||||
WORK( 1 ) = LWKOPT
|
||||
END IF
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue