Made the TensorStorage class compile with clang 3.9

This commit is contained in:
Benoit Steiner 2017-02-28 13:52:22 -08:00
parent 765f4cc4b4
commit de7b0fdea9

View File

@ -31,12 +31,12 @@ namespace Eigen {
* *
* \sa Tensor * \sa Tensor
*/ */
template<typename T, typename Dimensions, int Options_> class TensorStorage; template<typename T, typename Dimensions, int Options> class TensorStorage;
// Pure fixed-size storage // Pure fixed-size storage
template<typename T, int Options_, typename FixedDimensions> template<typename T, typename FixedDimensions, int Options_>
class TensorStorage<T, FixedDimensions, Options_> class TensorStorage
{ {
private: private:
static const std::size_t Size = FixedDimensions::total_size; static const std::size_t Size = FixedDimensions::total_size;
@ -66,7 +66,7 @@ class TensorStorage<T, FixedDimensions, Options_>
// pure dynamic // pure dynamic
template<typename T, int Options_, typename IndexType, int NumIndices_> template<typename T, typename IndexType, int NumIndices_, int Options_>
class TensorStorage<T, DSizes<IndexType, NumIndices_>, Options_> class TensorStorage<T, DSizes<IndexType, NumIndices_>, Options_>
{ {
public: public: