In file included from /home/felipe/libs/eigen/Eigen/Core:285:0, from test.cpp:3: /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h: In instantiation of ‘void Eigen::PlainObjectBase::_resize_to_match(const Eigen::EigenBase&) [with OtherDerived = Eigen::CwiseNullaryOp, Eigen::Matrix >, Derived = Eigen::Matrix]’: /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h:392:7: instantiated from ‘Derived& Eigen::PlainObjectBase::lazyAssign(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseNullaryOp, Eigen::Matrix >, Derived = Eigen::Matrix]’ /home/felipe/libs/eigen/Eigen/src/Core/Assign.h:522:123: instantiated from ‘static Derived& Eigen::internal::assign_selector::run(Derived&, const OtherDerived&) [with Derived = Eigen::Matrix, OtherDerived = Eigen::CwiseNullaryOp, Eigen::Matrix >]’ /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h:599:105: instantiated from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::CwiseNullaryOp, Eigen::Matrix >, Derived = Eigen::Matrix]’ /home/felipe/libs/eigen/Eigen/src/Core/Matrix.h:281:7: instantiated from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::MatrixBase&) [with OtherDerived = Eigen::CwiseNullaryOp, Eigen::Matrix >, _Scalar = double, int _Rows = -0x00000000000000001, int _Cols = -0x00000000000000001, int _Options = 0, int _MaxRows = -0x00000000000000001, int _MaxCols = -0x00000000000000001]’ test.cpp:9:38: instantiated from here /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h:548:30: warning: unused parameter ‘other’ [-Wunused-parameter] /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h: In instantiation of ‘void Eigen::PlainObjectBase::_resize_to_match(const Eigen::EigenBase&) [with OtherDerived = Eigen::Matrix, Derived = Eigen::Matrix]’: /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h:392:7: instantiated from ‘Derived& Eigen::PlainObjectBase::lazyAssign(const Eigen::DenseBase&) [with OtherDerived = Eigen::Matrix, Derived = Eigen::Matrix]’ /home/felipe/libs/eigen/Eigen/src/Core/Assign.h:522:123: instantiated from ‘static Derived& Eigen::internal::assign_selector::run(Derived&, const OtherDerived&) [with Derived = Eigen::Matrix, OtherDerived = Eigen::Matrix]’ /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h:599:105: instantiated from ‘Derived& Eigen::PlainObjectBase::_set_noalias(const Eigen::DenseBase&) [with OtherDerived = Eigen::Matrix, Derived = Eigen::Matrix]’ /home/felipe/libs/eigen/Eigen/src/Core/Matrix.h:288:7: instantiated from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>&) [with _Scalar = double, int _Rows = -0x00000000000000001, int _Cols = -0x00000000000000001, int _Options = 0, int _MaxRows = -0x00000000000000001, int _MaxCols = -0x00000000000000001, Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> = Eigen::Matrix]’ test.cpp:9:38: instantiated from here /home/felipe/libs/eigen/Eigen/src/Core/PlainObjectBase.h:548:30: warning: unused parameter ‘other’ [-Wunused-parameter]