//#define XERR
#include "growth.ih"

void Growth::setSelfDetect()
{
    d_base.back() = "selfDetect:";

    Parser::extract(Parser::one(d_base), d_selfSD, d_selfMean);
//    Parser::one(d_base, d_selfSD, d_selfMean);

    if (0 <= d_selfSD)
        return;

    Err::negative();
    d_selfSD = 0;
}
