Code cleanup

This commit is contained in:
Benoit Steiner 2016-10-25 20:36:14 -07:00
parent b15a5dc3f4
commit 1644bafe29

View File

@ -56,9 +56,9 @@ struct traits<Tensor<Scalar_, NumIndices_, Options_, IndexType_> >
Options = Options_,
Flags = compute_tensor_flags<Scalar_, Options_>::ret | (is_const<Scalar_>::value ? 0 : LvalueBit)
};
template<class T> struct MakePointer{
typedef T* Type;
};
template <typename T> struct MakePointer {
typedef T* Type;
};
};
@ -74,9 +74,9 @@ struct traits<TensorFixedSize<Scalar_, Dimensions, Options_, IndexType_, MakePoi
Options = Options_,
Flags = compute_tensor_flags<Scalar_, Options_>::ret | (is_const<Scalar_>::value ? 0: LvalueBit)
};
template<class T> struct MakePointer{
typedef typename MakePointer_<T>::Type Type;
};
template <typename T> struct MakePointer {
typedef typename MakePointer_<T>::Type Type;
};
};
@ -94,9 +94,9 @@ struct traits<TensorMap<PlainObjectType, Options_ , MakePointer_> >
Options = Options_,
Flags = BaseTraits::Flags
};
template<class T> struct MakePointer{
typedef typename MakePointer_<T>::Type Type;
};
template <class T> struct MakePointer {
typedef typename MakePointer_<T>::Type Type;
};
};
template<typename PlainObjectType>