Commit fc15648a authored by Thibault Lejemble's avatar Thibault Lejemble

store differentiation type parameter

parent f58f5889
......@@ -111,7 +111,7 @@ namespace internal
derDimension(), and the differentiation type by isScaleDer() and
isSpaceDer().
*/
template < class DataPoint, class _WFunctor, typename T, int Type>
template < class DataPoint, class _WFunctor, typename T, int _Type>
class OrientedSphereDer : public T
{
private:
......@@ -125,6 +125,11 @@ protected:
PROVIDES_NORMAL_DERIVATIVE
};
enum
{
Type = _Type /*!< \brief Type of differentiation */
};
public:
typedef typename Base::Scalar Scalar; /*!< \brief Inherited scalar type*/
typedef typename Base::VectorType VectorType; /*!< \brief Inherited vector type*/
......
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