From f76d4f0374258545b69f195729eea53512d7d5b5 Mon Sep 17 00:00:00 2001 From: btracey Date: Sat, 5 Sep 2015 22:15:24 -0600 Subject: [PATCH] Make isave a pointer so it is modified during the call --- native/dlacn2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/dlacn2.go b/native/dlacn2.go index 04184a4..c492c82 100644 --- a/native/dlacn2.go +++ b/native/dlacn2.go @@ -18,7 +18,7 @@ import ( // // isign, v, and x must all have length n and will panic otherwise. isave is used // for temporary storage. -func (impl Implementation) Dlacn2(n int, v, x []float64, isgn []int, est float64, kase int, isave [3]int) (float64, int) { +func (impl Implementation) Dlacn2(n int, v, x []float64, isgn []int, est float64, kase int, isave *[3]int) (float64, int) { checkVector(n, x, 1) checkVector(n, v, 1) if len(isgn) < n {