I’m trying to fill this matrix
===========================================
F (Rows: 8 Cols: 4)
===========================================
[[-1, -1, -1, -1]
[-1, -1, -1, -1]
[-1, -1, -1, -1]
[-1, -1, -1, -1]
[-1, -1, -1, -1]
[-1, -1, -1, -1]
[-1, -1, -1, -1]
[-1, -1, -1, -1]]
===========================================
with this one:
===========================================
MR (Rows: 3 Cols: 1)
===========================================
[[1]
[3]
[0]]
===========================================
by substituing values with block operation
F.block(1, MR.size(), 3, 0) = MR;
But I get an error
Assertion failed: (rows == this->rows() && cols == this->cols() && “DenseBase::resize() does not actually allow to resize.”), function resize
What’s wrong? Thank you