optimize: fix doc comment typo

This commit is contained in:
Dan Kortschak
2020-02-21 16:41:25 +10:30
parent c3867503e7
commit 89be31a4e6

View File

@@ -30,7 +30,7 @@ func (*ListSearch) Uses(has Available) (uses Available, err error) {
return has.function()
}
// InitGlobal initializes the method for optimization. The input dimension
// Init initializes the method for optimization. The input dimension
// must match the number of columns of Locs.
func (l *ListSearch) Init(dim, tasks int) int {
if dim <= 0 {