Comments (5)
Can you post the output of git rev-parse HEAD
when you are in $GOAPTH/src/github.com/gonum/matrix
and what command you used to invoke the tests. This failure should not be possible; none of the labels in the errors above are protected by build tags and io_test.go
is in "github.com/gonum/matrix/mat64", so they should all be visible.
from matrix.
I may be running the wrong command to test.
C:\Users\jackf_000\Developer\Go\src\github.com\gonum\matrix\mat64>git rev-parse HEAD
96a2f64
C:\Users\jackf_000\Developer\Go\src\github.com\gonum\matrix\mat64>go test io_test.go
command-line-arguments
.\io_test.go:19: undefined: Dense
.\io_test.go:20: undefined: Dense
.\io_test.go:21: undefined: Vector
.\io_test.go:22: undefined: Vector
.\io_test.go:27: undefined: Dense
.\io_test.go:28: undefined: Matrix
.\io_test.go:98: undefined: sizeFloat64
.\io_test.go:98: undefined: sizeInt64
.\io_test.go:293: undefined: Vector
.\io_test.go:294: undefined: Matrix
.\io_test.go:98: too many errors
FAIL command-line-arguments [build failed]
from matrix.
Try go test github.com/gonum/matrix/mat64 -run (Marshal|Unmarshal|IO)
(leave off the -run (Marshal|Unmarshal|IO)
to run all the tests in the package). What you have done is try to run the tests with only that file, which obviously lacks the entirety of the rest of the package. Probably you should read the output of go test -help
.
from matrix.
C:\Users\jackf_000\Developer\Go\src\github.com\gonum\matrix\mat64>go test
PASS
ok github.com/gonum/matrix/mat64 5.795s
Got you. Thanks. Still pretty new to Go. Appreciate the guidance.
from matrix.
No worries. Closing this.
from matrix.
Related Issues (20)
- Support for n-dimensional matrices HOT 5
- matrix: Repo description should not end in a "." HOT 2
- matrix/mat64: Should view follow Go slicing syntax HOT 3
- matrix/mat64: Ability to get SymDense from Dense HOT 10
- matrix/mat64: Dense.Inverse does not fail on singular matrix HOT 10
- mat64: Dense.Inverse test coverage needs improvement
- matrix/mat64: add `Exp' to TriDense HOT 10
- Update format documentation to include additional format verbs HOT 3
- matrix/mat64: question: re-use of memory for mat64.Vector pointers seems confusing HOT 8
- matrix/mat64: Question: add `mat64.Merge` helper function HOT 2
- mat64: rethink XFromY API for extracting matrices from decompositions HOT 2
- mat64: TestDet is flakey HOT 2
- mat64: Eigen returns 0 as values and left and right vectors
- mat64: add examples for GSVD and HOGSVD
- matrix/mat64: Formatted excerpt and prefix do not play nicely together
- matrix/mat64: remove outdated Jama comments
- Question: how add a new column/row to the beginning and end of a matrix? HOT 2
- matrix: implement random method HOT 1
- type Transpose is hard to use in some case ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matrix.