mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 15:16:59 +08:00
Change Method to localMethod.
Now that Local is gone, unexport the type.
This commit is contained in:
@@ -60,7 +60,7 @@ func (l *LBFGS) RunGlobal(operation chan<- GlobalTask, result <-chan GlobalTask,
|
||||
return
|
||||
}
|
||||
|
||||
func (l *LBFGS) Init(loc *Location) (Operation, error) {
|
||||
func (l *LBFGS) initLocal(loc *Location) (Operation, error) {
|
||||
if l.Linesearcher == nil {
|
||||
l.Linesearcher = &Bisection{}
|
||||
}
|
||||
@@ -77,7 +77,7 @@ func (l *LBFGS) Init(loc *Location) (Operation, error) {
|
||||
return l.ls.Init(loc)
|
||||
}
|
||||
|
||||
func (l *LBFGS) Iterate(loc *Location) (Operation, error) {
|
||||
func (l *LBFGS) iterateLocal(loc *Location) (Operation, error) {
|
||||
return l.ls.Iterate(loc)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user