Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 2a5720b6 authored by hhakim's avatar hhakim
Browse files

Fix a minor bug in Faust::TransformHelperPoly: in case of NOT lazy...

Fix a minor bug in Faust::TransformHelperPoly: in case of NOT lazy instantiation the is_fact_created vector wasn't initialized before use.
parent b7af8bf8
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ namespace Faust
ref_man.acquire(rR);
this->laziness = laziness;
this->is_fact_created.assign(K+1, laziness == NOT_LAZY);
// build the chebyshev polynomials by factor
for(int i=0;i<K+1;i++)
{
......@@ -38,7 +39,6 @@ namespace Faust
if(laziness == NOT_LAZY)
this->basisChebyshev_all();
this->is_fact_created.assign(this->size(), laziness == NOT_LAZY);
}
template<typename FPP>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment