Merge pull request #56 from harshavardhana/pr_out_fix_function_name_change

Fix function name change
This commit is contained in:
Harshavardhana 2014-11-29 17:30:33 -08:00
commit a37bb693ba
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ func main() {
}
// set up encoder
erasureParameters, _ := erasure.ValidateParams(k, m, 8, erasure.CAUCHY)
erasureParameters, _ := erasure.ParseEncoderParams(k, m, erasure.CAUCHY)
// decode data
decodedData, err := erasure.Decode(chunks, erasureParameters, length)

View File

@ -70,7 +70,7 @@ func main() {
}
// set up encoder
erasureParameters, _ := erasure.ValidateParams(k, m, 8, erasure.CAUCHY)
erasureParameters, _ := erasure.ParseEncoderParams(k, m, erasure.CAUCHY)
// encode data
encodedData, length := erasure.Encode(input, erasureParameters)