forked from TrueCloudLab/rclone
backend/tardigrade: Upgrade to uplink v1.1.1
This fixes issue #4370 by restoring the correct error response.
This commit is contained in:
parent
a55d882b7b
commit
e780cda1d4
125 changed files with 14632 additions and 92919 deletions
9
vendor/github.com/vivint/infectious/math.go
generated
vendored
9
vendor/github.com/vivint/infectious/math.go
generated
vendored
|
@ -33,7 +33,10 @@
|
|||
|
||||
package infectious
|
||||
|
||||
import "bytes"
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
)
|
||||
|
||||
type pivotSearcher struct {
|
||||
k int
|
||||
|
@ -66,7 +69,7 @@ func (p *pivotSearcher) search(col int, matrix []byte) (int, int, error) {
|
|||
}
|
||||
}
|
||||
|
||||
return 0, 0, Error.New("pivot not found")
|
||||
return 0, 0, errors.New("pivot not found")
|
||||
}
|
||||
|
||||
func swap(a, b *byte) {
|
||||
|
@ -100,7 +103,7 @@ func invertMatrix(matrix []byte, k int) error {
|
|||
c := pivot_row[icol]
|
||||
|
||||
if c == 0 {
|
||||
return Error.New("singular matrix")
|
||||
return errors.New("singular matrix")
|
||||
}
|
||||
|
||||
if c != 1 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue