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
e242b798
Commit
e242b798
authored
Dec 15, 2015
by
JB Mouret
Browse files
Merge pull request #56 from resibots/fix50
fixed #50
parents
47331c7f
3e9377fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/tests/test_optimizers.cpp
View file @
e242b798
...
...
@@ -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