Commit 7aa9ac47 authored by Laurent Belcour's avatar Laurent Belcour

Making the core to compile again.

parent 4fcd5d17
......@@ -22,30 +22,6 @@ void function::bootstrap(const data*, const arguments& args)
}
}
// Acces to the domain of definition of the function
void function::setMin(const vec& min)
{
#ifdef DEBUG
assert(min.size() == _nX) ;
#endif
_min = min ;
}
void function::setMax(const vec& max)
{
#ifdef DEBUG
assert(max.size() == _nX) ;
#endif
_max = max ;
}
vec function::getMin() const
{
return _min ;
}
vec function::getMax() const
{
return _max ;
}
void function::save(const std::string& filename, const arguments& args) const
{
bool is_alta = !args.is_defined("export") || args["export"] == "alta";
......
......@@ -357,3 +357,27 @@ void params::print_input_params()
std::cout << it->second.name << std::endl;
}
}
// Acces to the domain of definition of the function
void parametrized::setMin(const vec& min)
{
#ifdef DEBUG
assert(min.size() == _nX) ;
#endif
_min = min ;
}
void parametrized::setMax(const vec& max)
{
#ifdef DEBUG
assert(max.size() == _nX) ;
#endif
_max = max ;
}
vec parametrized::getMin() const
{
return _min ;
}
vec parametrized::getMax() const
{
return _max ;
}
......@@ -8,6 +8,8 @@
#include <cassert>
#include <iostream>
#include "common.h"
/*! \class params
* \ingroup core
* \brief a static class allowing to change from one parametrization
......
Markdown is supported
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