--- trunk/gadget/lengthgroup.h 2014/02/10 17:09:07 1 +++ trunk/gadget/lengthgroup.h 2015/04/29 12:55:30 2 @@ -35,7 +35,11 @@ * \param i is the identifier of the length group * \return the mean length of the length group */ - double meanLength(int i) const; + double meanLength(int i) const { + if (i >= size) + return meanlength[size - 1]; + return meanlength[i]; + }; /** * \brief This function will return the minimum length of a specified length group * \param i is the identifier of the length group @@ -93,6 +97,9 @@ * \param outfile is the ofstream that the information gets sent to */ void Print(ofstream& outfile) const; + + //FIXME + double* const meanlengthvecPow_initilize( int maxlengthgroupgrowth, double tmpPower) const; protected: /** * \brief This is the flag to denote whether an error has occured or not @@ -122,6 +129,7 @@ * \brief This is the DoubleVector of the minimum lengths for each length group */ DoubleVector minlength; + }; /**