Estimation DLL: remove 'const' qualifiers in order to be able to put these classes in std::vector (the STL want an assignment operator)

time-shift
Sébastien Villemot 2010-06-10 18:20:15 +02:00
parent 8a7ed1ec48
commit 974e9ac0ad
2 changed files with 8 additions and 8 deletions

View File

@ -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_)

View File

@ -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