Commit 5bdb520c authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

[MatrixView] Define operator= to suppress compilation warning.

parent 90379e7a
Pipeline #14643 failed with stage
in 12 minutes and 47 seconds
......@@ -580,6 +580,14 @@ namespace Eigen {
YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES);
}
MatrixBlocks& operator=(const MatrixBlocks& other)
{
m_nbRows = other.m_nbRows;
m_nbCols = other.m_nbCols;
m_rows = other.m_rows;
m_cols = other.m_cols;
return *this;
}
/// Clear rows
inline void clearRows ()
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment