-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
Hi! I'm working on Debian packaging of this project. It builds fine on x86 but one self-test fail on 32-bit i386. Is it a 32-bit problem? Any ideas what the error means?
--- FAIL: TestDot (0.00s)
panic: Invalid axis 2 for ndarray with 2 dimensions [recovered]
panic: Invalid axis 2 for ndarray with 2 dimensions
goroutine 265 [running]:
testing.tRunner.func1.2({0x8cf0a80, 0xb6cf0c0})
/usr/lib/go-1.24/src/testing/testing.go:1734 +0x283
testing.tRunner.func1()
/usr/lib/go-1.24/src/testing/testing.go:1737 +0x415
panic({0x8cf0a80, 0xb6cf0c0})
/usr/lib/go-1.24/src/runtime/panic.go:792 +0x103
gorgonia.org/tensor.StdEng.Dot({{}}, {0x8ebf85c, 0xb6d0f00}, {0x8ebf85c, 0xb6d1100}, {0x0, 0x0, 0x0})
/builds/jas/golang-github-gorgonia-tensor/debian/output/source_dir/_build/src/gorgonia.org/tensor/defaultengine_linalg.go:289 +0x2b41
gorgonia.org/tensor.Dot({0x8ebf85c, 0xb6d0f00}, {0x8ebf85c, 0xb6d1100}, {0x0, 0x0, 0x0})
/builds/jas/golang-github-gorgonia-tensor/debian/output/source_dir/_build/src/gorgonia.org/tensor/api_arith.go:519 +0x1b0
gorgonia.org/tensor.TestDot(0xb58aa28)
/builds/jas/golang-github-gorgonia-tensor/debian/output/source_dir/_build/src/gorgonia.org/tensor/dense_linalg_test.go:671 +0x323d
testing.tRunner(0xb58aa28, 0x8daf014)
/usr/lib/go-1.24/src/testing/testing.go:1792 +0x119
created by testing.(*T).Run in goroutine 1
/usr/lib/go-1.24/src/testing/testing.go:1851 +0x468
FAIL gorgonia.org/tensor 5.490s
Thanks,
Simon
Metadata
Metadata
Assignees
Labels
No labels