Fix workspace query corner cases to always return at least 1

This commit is contained in:
Martin Kroeker 2023-07-15 09:17:39 +02:00 committed by GitHub
parent 3afdd04984
commit 8164406e7f
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, 'DSYTRF_RK', UPLO, N, -1, -1, -1 )
LWKOPT = N*NB
LWKOPT = MAX( 1, N*NB )
WORK( 1 ) = LWKOPT
END IF
*