Fix workspace query corner cases to always return at least 1

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

View File

@ -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
*