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
3e9377fe
Commit
3e9377fe
authored
Dec 15, 2015
by
Jean-Baptiste Mouret
Browse files
fixed #50
parent
f98cbc04
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tests/test_optimizers.cpp
View file @
3e9377fe
...
...
@@ -72,7 +72,7 @@ public:
protected:
const
Functor
&
_f
;
const
Eigen
::
VectorXd
&
_init
;
Eigen
::
VectorXd
_init
;
};
template
<
typename
Functor
>
...
...
@@ -175,4 +175,4 @@ BOOST_AUTO_TEST_CASE(test_cmaes_bi_dim)
BOOST_CHECK_EQUAL
(
best_point
.
size
(),
2
);
BOOST_CHECK_CLOSE
(
best_point
(
0
),
1
,
0.0001
);
BOOST_CHECK_SMALL
(
best_point
(
1
),
0.000001
);
}
\ No newline at end of file
}
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