Commit 03762f34 authored by Konstantinos Chatzilygeroudis's avatar Konstantinos Chatzilygeroudis
Browse files

Cleaning..

parent e5ac0995
......@@ -129,17 +129,17 @@ namespace limbo {
double _noise;
double _noise_p;
virtual size_t params_size() const
size_t params_size() const
{
return 0;
}
virtual Eigen::VectorXd params() const
Eigen::VectorXd params() const
{
return Eigen::VectorXd();
}
virtual void set_params(const Eigen::VectorXd&) {}
void set_params(const Eigen::VectorXd&) {}
};
} // namespace kernel
} // namespace limbo
......
......@@ -61,19 +61,11 @@ namespace limbo {
struct BaseMean {
BaseMean(size_t dim_out = 1) : _dim_out(dim_out) {}
template <typename GP>
Eigen::VectorXd operator()(const Eigen::VectorXd& v, const GP&) const
{
std::cerr << "'BaseMean' should never be called!" << std::endl;
assert(false);
return Eigen::VectorXd();
}
size_t h_params_size() const { return 0; }
virtual size_t h_params_size() const { return 0; }
Eigen::VectorXd h_params() const { return Eigen::VectorXd(); }
virtual Eigen::VectorXd h_params() const { return Eigen::VectorXd(); }
virtual void set_h_params(const Eigen::VectorXd& p) {}
void set_h_params(const Eigen::VectorXd& p) {}
protected:
size_t _dim_out;
......
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