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