diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-10-25 20:36:14 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2016-10-25 20:36:14 -0700 |
commit | 1644bafe29201bb6f38de85d5e27491d583025d9 (patch) | |
tree | eb8d6721aa8e02fba176a901b183f5b92d8b0b66 /unsupported/Eigen | |
parent | b15a5dc3f4a8de0678661737fd82f2f0549b4b38 (diff) |
Code cleanup
Diffstat (limited to 'unsupported/Eigen')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h index b540b722e..59d01d7d5 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h @@ -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> |