Change DefaultSettings to DefaultSettingsLocal

This commit is contained in:
Brendan Tracey
2018-07-18 13:28:19 -06:00
parent 3dd933ac47
commit 88ef6dbe25
3 changed files with 6 additions and 5 deletions

View File

@@ -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),