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

// static
void Screening::errRisk1405(DoubleVect &vect, 
                            Modalities const &modalities,
                            Round const &round, uint16_t biRadIdx, 
                            double beta, double eta)
{
                                    // visit all subsequent ages, and compute
                                    // beir7Err separately for each age 
    for (uint16_t age = round.rndAge() + 1; age != END_AGE; ++age)
        vect[age] *= beir7Err(age, round, biRadIdx, beta, eta, modalities);
}
