Mentions légales du service

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

Add MatDense<FPP, Cpu>::update_dim.

parent 7642d3c8
Branches
No related tags found
No related merge requests found
......@@ -528,6 +528,12 @@ namespace Faust
bool containsNaN() const;
/**
* Ensures MatGeneric dims are the same as Eigen matrix.
*/
void update_dims() { this->dim1 = mat.rows(); this->dim2 = mat.cols();}
private:
Eigen::Matrix<FPP, Eigen::Dynamic, Eigen::Dynamic> mat;
bool isZeros;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment