Fix workspace query corner cases to always return at least 1

This commit is contained in:
Martin Kroeker 2023-07-15 09:15:40 +02:00 committed by GitHub
parent ec9b162602
commit 94528c49cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@
* Determine the block size
*
NB = ILAENV( 1, 'ZSYTRF_RK', UPLO, N, -1, -1, -1 )
LWKOPT = N*NB
LWKOPT = MAX( 1, N*NB )
WORK( 1 ) = LWKOPT
END IF
*