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

Revert "Remove copy constructor"

This reverts commit 7be8aee3.
parent 0ce3e48d
No related branches found
No related tags found
1 merge request!425Resolve "Ubuntu 20 not compiling"
Pipeline #7118 passed
...@@ -99,7 +99,7 @@ class MatrixComposite : public std::unordered_map < char, std::unordered_map < c ...@@ -99,7 +99,7 @@ class MatrixComposite : public std::unordered_map < char, std::unordered_map < c
const std::list<int>& _row_sizes, const std::list<int>& _row_sizes,
const StateStructure& _col_structure, const StateStructure& _col_structure,
const std::list<int>& _col_sizes); const std::list<int>& _col_sizes);
// MatrixComposite (const MatrixComposite& m); MatrixComposite (const MatrixComposite& m);
/** /**
* \brief Construct from Eigen::VectorXd and structure * \brief Construct from Eigen::VectorXd and structure
* *
...@@ -358,12 +358,12 @@ inline StateBlockPtr wolf::StateBlockComposite::emplace(const char &_sb_type, ...@@ -358,12 +358,12 @@ inline StateBlockPtr wolf::StateBlockComposite::emplace(const char &_sb_type,
return sb; return sb;
} }
//inline MatrixComposite::MatrixComposite (const MatrixComposite& m) inline MatrixComposite::MatrixComposite (const MatrixComposite& m)
// : unordered_map<char, unordered_map<char, MatrixXd> >(m), size_rows_(m.size_rows_), size_cols_(m.size_cols_) : unordered_map<char, unordered_map<char, MatrixXd> >(m), size_rows_(m.size_rows_), size_cols_(m.size_cols_)
//{ {
//} }
//
//} }
#endif /* STATE_BLOCK_STATE_COMPOSITE_H_ */ #endif /* STATE_BLOCK_STATE_COMPOSITE_H_ */
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