Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Matthias Mayr
limbo
Commits
59ee91ec
Commit
59ee91ec
authored
Jul 05, 2018
by
Jean-Baptiste Mouret
Browse files
I forgot one
parent
efc1cb20
Changes
1
Show whitespace changes
Inline
Side-by-side
src/limbo/opt/optimizer.hpp
View file @
59ee91ec
...
...
@@ -62,7 +62,7 @@ namespace limbo {
///@ingroup opt_tools
///return with opt::no_grad(your_val) if no gradient is available (to be used in functions to be optimized)
eval_t
no_grad
(
double
x
)
{
return
eval_t
{
x
,
boost
::
optional
<
Eigen
::
VectorXd
>
{}};
}
inline
eval_t
no_grad
(
double
x
)
{
return
eval_t
{
x
,
boost
::
optional
<
Eigen
::
VectorXd
>
{}};
}
///@ingroup opt_tools
/// get the gradient from a function evaluation (eval_t)
...
...
Write
Preview
Supports
Markdown
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