route/vendor/github.com/templexxx/reedsolomon/rs_other.go

9 lines
161 B
Go
Raw Normal View History

2017-10-06 15:29:20 +00:00
// +build !amd64
package reedsolomon
func newRS(d, p int, em matrix) (enc Encoder) {
g := em[d*d:]
return &encBase{data: d, parity: p, encode: em, gen: g}
}