@@ -191,17 +191,7 @@ int main(int argc, char* argv[])
vector<Faust::MatSparse<FPP,Cpu> > facts;
hierFact.get_facts(facts);
FPP lambda = hierFact.get_lambda();
if (argc >= 3)
{
if (Faust::fabs(lambda - expectedLambda) > epsilon)
{
std::cerr<<"invalid lambda, must be equal to "<<std::setprecision(20)<<std::setprecision(20)<<expectedLambda<<" in the precision of "<<epsilon<<std::endl;
std::cerr<<"current value is "<<std::setprecision(20)<<lambda<<std::endl;
if (Faust::fabs(lambda - expectedLambda) > epsilon)
{
std::cerr<<"invalid lambda, must be equal to "<<std::setprecision(20)<<std::setprecision(20)<<expectedLambda<<" in the precision of "<<epsilon<<std::endl;
std::cerr<<"current value is "<<std::setprecision(20)<<lambda<<std::endl;
exit(EXIT_FAILURE);
}
}
hierFactCore.Display();
//time comparison between matrix vector product and faust-vector product