From 9ec2aaecbb06a1c6d6c41f226ed681ff6faab6ee Mon Sep 17 00:00:00 2001 From: Vladimir Chalupecky Date: Sun, 27 Jan 2019 15:20:01 +0100 Subject: [PATCH] blas/blas64: reorder fields of Vector ... so that the increment is after the data slice. This matches the order in which the parameters are passed to the BLAS routines. --- blas/blas64/blas64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blas/blas64/blas64.go b/blas/blas64/blas64.go index a54ce26d..55198383 100644 --- a/blas/blas64/blas64.go +++ b/blas/blas64/blas64.go @@ -29,8 +29,8 @@ func Implementation() blas.Float64 { // Vector represents a vector with an associated element increment. type Vector struct { N int - Inc int Data []float64 + Inc int } // General represents a matrix using the conventional storage scheme.