Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6362c11e authored by Nicolas Bellot's avatar Nicolas Bellot Committed by hhakim
Browse files

get rid of tautology warning

parent 4ac413c9
No related branches found
No related tags found
No related merge requests found
......@@ -49,11 +49,9 @@ void Faust::MatDense<FPP,Cpu>::resize(const faust_unsigned_int nbRow,const faust
#ifdef __COMPILE_TIMERS__
t_resize.start();
#endif
if ( (nbRow <0) || (nbCol <0) )
{
handleError(class_name, "resize : new dimensions must be positive");
}
else if ((this->dim1 != nbRow) || (this->dim2 != nbCol))
if ((this->dim1 != nbRow) || (this->dim2 != nbCol))
{
Faust::MatGeneric<FPP,Cpu>::resize(nbRow,nbCol);
mat.resize(nbRow,nbCol);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment