backend/tardigrade: Upgrade to uplink v1.1.1

This fixes issue #4370 by restoring the correct error response.
This commit is contained in:
Caleb Case 2020-06-18 16:20:56 -04:00 committed by Nick Craig-Wood
parent a55d882b7b
commit e780cda1d4
125 changed files with 14632 additions and 92919 deletions

View file

@ -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 {