Commit 7f41d227 authored by Thibault Lejemble's avatar Thibault Lejemble

use of derDimension()

parent 11a029fb
...@@ -21,12 +21,10 @@ protected: ...@@ -21,12 +21,10 @@ protected:
PROVIDES_NORMAL_SPACE_DERIVATIVE PROVIDES_NORMAL_SPACE_DERIVATIVE
}; };
#define DER_NB_DERIVATIVES(TYPE,DIM) ((TYPE & internal::FitScaleDer) ? 1 : 0 ) + ((TYPE & internal::FitSpaceDer) ? DIM : 0)
enum enum
{ {
Dim = DataPoint::Dim, //!< Dimension of the ambient space Dim = DataPoint::Dim, //!< Dimension of the ambient space
DerDim = DER_NB_DERIVATIVES(Base::Type,Dim) //!< Number of dimensions used for the differentiation DerDim = Base::derDimension() //!< Number of dimensions used for the differentiation
}; };
public: public:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment