Skip to content
Snippets Groups Projects
Commit 0d6e7d45 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Fix uninitialized var error

parent 959fd2e1
No related branches found
No related tags found
1 merge request!366Resolve "Complete state vector new data structure?"
Pipeline #5429 passed
......@@ -581,12 +581,13 @@ MatrixComposite::MatrixComposite (const MatrixXd& _m,
csize_it ++;
}
assert(_m.cols() == cindex && "Provided matrix has too many columns");
rindex += *rsize_it;
rsize_it++;
}
assert(_m.rows() == rindex && "Provided matrix has too many rows");
assert(_m.cols() == cindex && "Provided matrix has too many columns");
}
MatrixComposite MatrixComposite::zero (const StateStructure& _row_structure, const std::list<int>& _row_sizes,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment