mirror of
https://github.com/sjwhitworth/golearn.git
synced 2025-04-25 13:48:49 +08:00
Fix for error that happens on Go 1.11 and above
This commit is contained in:
parent
5d79ed7114
commit
ac9fa85307
@ -80,6 +80,6 @@ func WrapError(err error) error {
|
||||
}
|
||||
|
||||
func FormatError(err error, format string, args ...interface{}) error {
|
||||
description := fmt.Sprintf(format, args)
|
||||
description := fmt.Sprintf(format, args...)
|
||||
return DescribeError(description, err)
|
||||
}
|
||||
|
BIN
knn/temp.cls
BIN
knn/temp.cls
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user