spatial/r3: use array conversion in safe code
MODIFY
go.mod
go.mod
module gonum.org/v1/gonum
-go 1.14
+go 1.17
require (
github.com/google/go-cmp v0.5.7

MODIFY
spatial/r3/mat_unsafe.go
spatial/r3/mat_unsafe.go
@@ -140,7 +140,6 @@ func (r Rotation) Mat() *Mat {
}
func arrayFrom(vals []float64) *array {
- // TODO(kortschak): Use array conversion when go1.16 is no longer supported.
return (*array)(unsafe.Pointer(&vals[0]))
}

spatial/r3: use array conversion in safe code