Remove dangerous optimization from previous #3252 - buffer is never unused here
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 20 Oct 2021 08:50:02 +0000 (10:50 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Oct 2021 08:50:02 +0000 (10:50 +0200)
interface/ztrsv.c

index cf750b0..cbb7bba 100644 (file)
@@ -199,12 +199,6 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo,
 
   if (n == 0) return;
 
-  if (incx == 1 && trans == 0 && n < 50) {
-    buffer = NULL;
-    (trsv[(trans<<2) | (uplo<<1) | unit])(n, a, lda, x, incx, buffer);
-    return;
-  }
-
   IDEBUG_START;
 
   FUNCTION_PROFILE_START();