AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ check_dim()

template<class C >
void aff::util::Slice< C >::check_dim ( ) const
inlineprivate

check dimension

Definition at line 131 of file slice.h.

References AFF_assert, and aff::util::Slice< C >::Mdim.

Referenced by aff::util::Slice< C >::operator()().

132  {
133  AFF_assert((Mdim<Tshape::Mmax_dimen),
134  "ERROR (Slice): you use too many dimension-brackets!");
135  }
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
Tdim Mdim
Next dimension to collapse.
Definition: slice.h:141
Here is the caller graph for this function: