Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 97c9d8b3 authored by hhakim's avatar hhakim
Browse files

Minor change: rely rather on Eigen to compute addition in Faust::Vect += operator.

Eigen might be more efficient to do it at low-level.
This commit is next to the previous one (e2c514be).
parent 45fc99b1
No related branches found
No related tags found
No related merge requests found
......@@ -184,10 +184,7 @@ void Faust::Vect<FPP,Cpu>::operator+=(const Faust::Vect<FPP,Cpu>& v)
handleError(m_className,"operator+= : dimensions are in conflict");
}
FPP* ptr_data = getData();
const FPP* v_ptr_data = v.getData();
for (int i=0 ; i<size() ; i++)
ptr_data[i] += v_ptr_data[i];
vec += v.vec;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment