Commit 974e9ac0 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Estimation DLL: remove 'const' qualifiers in order to be able to put these...

Estimation DLL: remove 'const' qualifiers in order to be able to put these classes in std::vector (the STL want an assignment operator)
parent 8a7ed1ec
......@@ -47,13 +47,13 @@ public:
);
virtual ~EstimatedParameter();
const enum pType ptype;
const size_t ID1;
const size_t ID2;
const double lower_bound;
const double upper_bound;
enum pType ptype;
size_t ID1;
size_t ID2;
double lower_bound;
double upper_bound;
Prior* prior;
const std::vector<size_t> subSampleIDs;
std::vector<size_t> subSampleIDs;
};
#endif // !defined(D879C8AE_5B69_4fc3_83BD_FA5A99030ECF__INCLUDED_)
......@@ -60,8 +60,8 @@ public:
EstimationSubsample(size_t startPeriod, size_t endPeriod);
virtual ~EstimationSubsample();
const size_t startPeriod;
const size_t endPeriod;
size_t startPeriod;
size_t endPeriod;
/**
* indices of all estimated xparam1 parameters valid for this period in the larger,
* extended xparam1x vector passed in. from the gradient function will be added at a later stage of development
......
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