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

◆ check_dim()

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

check dimensions

Definition at line 136 of file subarray.h.

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

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

137  {
138  AFF_assert((Mdim<Tshape::Mmax_dimen),
139  "ERROR (Subarray): you use too many dimension-brackets!");
140  }
Tdim Mdim
Dimension to specify.
Definition: subarray.h:146
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
Here is the caller graph for this function: