yaegi: cmd/yaegi: fails to import "gonum.org/v1/gonum/mat"

Importing “gonum.org/v1/gonum/mat” fails.

~ $ yaegi
> import "gonum.org/v1/gonum/mat"
.../src/gonum.org/v1/gonum/internal/math32/math.go:19:21: missing support for type uint: 3

The relevant line in math.go:

	mask    = 0x7f8 >> 3

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

That’s fine, just noting that it’s not true. An import of gonum.org/v1/gonum won’t cause any Cgo code to be built unless the user wants that.