Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
594fa8c7
"git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "e48b9584b19285cba57d3387345e514d83603a5b"
Commit
594fa8c7
authored
Mar 17, 2018
by
Davis King
Browse files
Fixed typo in comment
parent
3e781f6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/global_optimization/global_function_search_abstract.h
dlib/global_optimization/global_function_search_abstract.h
+1
-1
No files found.
dlib/global_optimization/global_function_search_abstract.h
View file @
594fa8c7
...
@@ -225,7 +225,7 @@ namespace dlib
...
@@ -225,7 +225,7 @@ namespace dlib
// Suppose we want to find which of these functions, F() and G(), have
// Suppose we want to find which of these functions, F() and G(), have
// the largest output and what input is necessary to produce the
// the largest output and what input is necessary to produce the
// maximal output.
// maximal output.
auto F = [](double a, double b) { return -std::pow(a-2,2.0) - std::pow(
a
-4,2.0); };
auto F = [](double a, double b) { return -std::pow(a-2,2.0) - std::pow(
b
-4,2.0); };
auto G = [](double x) { return 2-std::pow(x-5,2.0); };
auto G = [](double x) { return 2-std::pow(x-5,2.0); };
// We first define function_spec objects that specify bounds on the
// We first define function_spec objects that specify bounds on the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment