summaryrefslogtreecommitdiff
path: root/test/hilbert.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/hilbert.go')
-rw-r--r--test/hilbert.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hilbert.go b/test/hilbert.go
index b2b916b13..415e957f8 100644
--- a/test/hilbert.go
+++ b/test/hilbert.go
@@ -47,7 +47,7 @@ func (a *Matrix) set(i, j int, x *Big.Rational) {
func NewMatrix(n, m int) *Matrix {
assert(0 <= n && 0 <= m);
- a := new(Matrix);
+ a := new(*Matrix);
a.n = n;
a.m = m;
a.a = new([]*Big.Rational, n*m);