template<typename MatrixType> void zeroReduction(const MatrixType& m) { // Reductions that must hold for zero sized objects VERIFY(m.all()); VERIFY(!m.any()); VERIFY(m.prod()==1); VERIFY(m.sum()==0); VERIFY(m.count()==0); VERIFY(m.allFinite()); VERIFY(!m.hasNaN()); }