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
2cd3a53c
Commit
2cd3a53c
authored
Jun 28, 2018
by
Konstantinos Chatzilygeroudis
Browse files
Fix minor bug/typo
parent
f14be3a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/limbo/model/multi_gp.hpp
View file @
2cd3a53c
...
...
@@ -247,7 +247,7 @@ namespace limbo {
/// return the number of samples used to compute the GP
int
nb_samples
()
const
{
return
(
_gp_models
.
size
()
>
0
)
?
_gp_models
[
0
].
nb_samples
()
:
0
;
return
_observations
.
size
()
;
}
/// recomputes the GPs
...
...
@@ -268,7 +268,8 @@ namespace limbo {
/// return the list of samples that have been tested so far
const
std
::
vector
<
Eigen
::
VectorXd
>&
samples
()
const
{
return
_observations
.
size
();
assert
(
_gp_models
.
size
());
return
_gp_models
[
0
].
samples
();
}
/// return the mean observation
...
...
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