File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -92,13 +92,10 @@ namespace LuaEigen {
92
92
using Base::dot;
93
93
using Base::cross;
94
94
95
+ Matrix () : Base() {}
95
96
Matrix (lua_State *L) : Base() {}
96
97
template <typename OtherDerived>
97
98
Matrix (const Eigen::MatrixBase<OtherDerived> &o) : Base(o) {}
98
- template <typename OtherDerived>
99
- Matrix (const Eigen::EigenBase<OtherDerived> &o) : Base(o) {}
100
- template <typename OtherDerived>
101
- Matrix (const Eigen::ReturnByValue<OtherDerived> &o) : Base(o) {}
102
99
~Matrix () {}
103
100
104
101
template <typename OtherDerived>
@@ -806,4 +803,12 @@ namespace LuaEigen {
806
803
int MatrixX4f::resize (lua_State *L);
807
804
}
808
805
806
+ namespace Eigen {
807
+ namespace internal {
808
+ template <typename _Scalar, int _Rows, int _Cols>
809
+ struct traits <LuaEigen::Matrix<_Scalar, _Rows, _Cols>>
810
+ : traits<Matrix<_Scalar, _Rows, _Cols>> {};
811
+ }
812
+ }
813
+
809
814
#endif
You can’t perform that action at this time.
0 commit comments