| 32 | // Check at compile-time that T1==T2, and at runtime-time that a==b |
| 33 | template<typename T1,typename T2> |
| 34 | typename internal::enable_if<internal::is_same<T1,T2>::value,bool>::type |
| 35 | is_same_block(const T1& a, const T2& b) |
| 36 | { |
| 37 | return a.isApprox(b); |
| 38 | } |
| 39 | |
| 40 | template<typename MatrixType> void block(const MatrixType& m) |
| 41 | { |