Browse Source

Correct length of name string in xerbla call

tags/v0.3.6^2
Martin Kroeker GitHub 6 years ago
parent
commit
0bd956fd21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      interface/trsm.c

+ 1
- 1
interface/trsm.c View File

@@ -204,7 +204,7 @@ void NAME(char *SIDE, char *UPLO, char *TRANS, char *DIAG,
if (side < 0) info = 1;

if (info != 0) {
BLASFUNC(xerbla)(ERROR_NAME, &info, sizeof(ERROR_NAME));
BLASFUNC(xerbla)(ERROR_NAME, &info, sizeof(ERROR_NAME)-1);
return;
}



Loading…
Cancel
Save