Make use of LRU and higher order erasure functions

This commit is contained in:
Harshavardhana
2014-11-24 07:16:48 -08:00
parent 95e2e472cd
commit 6592ef3bd2
6 changed files with 12 additions and 18 deletions
+1 -1
View File
@@ -108,6 +108,6 @@ func (e *Encoder) Decode(chunks [][]byte, length int) ([]byte, error) {
return recovered_output[:length], nil
}
func Decode(chunks [][]byte, ep EncoderParams, length int) (block []byte, err error) {
func Decode(chunks [][]byte, ep *EncoderParams, length int) (block []byte, err error) {
return GetEncoder(ep).Decode(chunks, length)
}