mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 07:06:54 +08:00
Change DefaultSettings to DefaultSettingsLocal
This commit is contained in:
@@ -242,8 +242,9 @@ type Settings struct {
|
||||
Concurrent int
|
||||
}
|
||||
|
||||
// DefaultSettings returns a new Settings struct containing the default settings.
|
||||
func DefaultSettings() *Settings {
|
||||
// DefaultSettingsLocal returns a new Settings struct that contains default settings
|
||||
// for running a local optimization.
|
||||
func DefaultSettingsLocal() *Settings {
|
||||
return &Settings{
|
||||
GradientThreshold: defaultGradientAbsTol,
|
||||
FunctionThreshold: math.Inf(-1),
|
||||
|
Reference in New Issue
Block a user