Commit c44ab834 authored by Antoine Cully's avatar Antoine Cully
Browse files

Does not reconstruct the Mean Object as long as there is not difference in dim_out

parent f564915a
......@@ -86,8 +86,10 @@ namespace limbo {
_dim_in = samples[0].size();
_kernel_function = KernelFunction(_dim_in); // the cost of building a functor should be relatively low
_dim_out = observations[0].size();
_mean_function = MeanFunction(_dim_out); // the cost of building a functor should be relatively low
if (_dim_out != observations[0].size()) {
_dim_out = observations[0].size();
_mean_function = MeanFunction(_dim_out); // the cost of building a functor should be relatively low
}
_samples = samples;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment