mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Vandermonde --> Cauchy
This commit is contained in:
parent
6fa2ad2444
commit
3b9495d91a
@ -15,7 +15,7 @@ func main() {
|
|||||||
app.Name = "minio-encode"
|
app.Name = "minio-encode"
|
||||||
app.Usage = "erasure encode a byte stream"
|
app.Usage = "erasure encode a byte stream"
|
||||||
app.Action = func(c *cli.Context) {
|
app.Action = func(c *cli.Context) {
|
||||||
erasureParameters, _ := erasure.ValidateParams(10, 5, 8, erasure.VANDERMONDE)
|
erasureParameters, _ := erasure.ValidateParams(10, 5, 8, erasure.CAUCHY)
|
||||||
|
|
||||||
encoder := erasure.NewEncoder(erasureParameters)
|
encoder := erasure.NewEncoder(erasureParameters)
|
||||||
input, err := ioutil.ReadAll(os.Stdin)
|
input, err := ioutil.ReadAll(os.Stdin)
|
||||||
|
Loading…
Reference in New Issue
Block a user