mirror of
https://github.com/pgsty/minio.git
synced 2026-08-09 07:43:29 +03:00
vendor: update reedsolomon package with new perm improvements. (#1422)
This commit is contained in:
+1
-4
@@ -178,10 +178,7 @@ func (m matrix) SwapRows(r1, r2 int) error {
|
||||
// IsSquare will return true if the matrix is square
|
||||
// and nil if the matrix is square
|
||||
func (m matrix) IsSquare() bool {
|
||||
if len(m) != len(m[0]) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
return len(m) == len(m[0])
|
||||
}
|
||||
|
||||
// errSingular is returned if the matrix is singular and cannot be inversed
|
||||
|
||||
Reference in New Issue
Block a user