From 853bd0d6ebfc09e667828a5469f9dd9ea84dfae1 Mon Sep 17 00:00:00 2001 From: Ryan Curtin Date: Thu, 22 Sep 2022 10:54:56 -0400 Subject: [PATCH] Try to get a little information on what is going on. --- src/mlpack/bindings/go/tests/go_binding_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mlpack/bindings/go/tests/go_binding_test.go b/src/mlpack/bindings/go/tests/go_binding_test.go index 2e93f89988..4ffd8201cf 100644 --- a/src/mlpack/bindings/go/tests/go_binding_test.go +++ b/src/mlpack/bindings/go/tests/go_binding_test.go @@ -328,6 +328,10 @@ func TestGonumRow(t *testing.T) { if rows != 9 { t.Errorf("Error. Wrong shape.") } + oldRows, oldCols := oldX.Dims() + if oldRows != 9 { + t.Errorf("Error, oldX has shape %v, %v", oldRows, oldCols) + } for i := 0; i < rows; i++ { if RowOut.At(i, 0) != oldX.At(i, 0)*2 { val := RowOut.At(i, 0)