Fix workspace query corner cases to always return at least 1

This commit is contained in:
Martin Kroeker 2023-07-15 09:14:44 +02:00 committed by GitHub
parent 2786a464d6
commit ec9b162602
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 * Determine the block size
* *
NB = ILAENV( 1, 'ZSYTRF', UPLO, N, -1, -1, -1 ) NB = ILAENV( 1, 'ZSYTRF', UPLO, N, -1, -1, -1 )
LWKOPT = N*NB LWKOPT = MAX( 1, N*NB )
WORK( 1 ) = LWKOPT WORK( 1 ) = LWKOPT
END IF END IF
* *