testlapack: print byte constants as chars

This commit is contained in:
Vladimir Chalupecky
2020-02-22 00:04:09 +01:00
committed by Vladimír Chalupecký
parent 939a2b38a3
commit 3973e30147
11 changed files with 11 additions and 11 deletions

View File

@@ -59,7 +59,7 @@ func testDlatrs(t *testing.T, impl Dlatrser, imat int, uplo blas.Uplo, trans bla
// Call Dlatrs with normin=false.
copy(x, b)
scale := impl.Dlatrs(uplo, trans, diag, false, n, a, lda, x, cnorm)
prefix := fmt.Sprintf("Case imat=%v (n=%v,lda=%v,trans=%v,uplo=%v,diag=%v", imat, n, lda, trans, uplo, diag)
prefix := fmt.Sprintf("Case imat=%v (n=%v,lda=%v,trans=%c,uplo=%c,diag=%c", imat, n, lda, trans, uplo, diag)
for i, v := range cnorm {
if math.IsNaN(v) {
t.Errorf("%v: cnorm[%v] not computed (scale=%v,normin=false)", prefix, i, scale)