mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Made the TensorStorage class compile with clang 3.9
This commit is contained in:
parent
765f4cc4b4
commit
de7b0fdea9
@ -31,12 +31,12 @@ namespace Eigen {
|
||||
*
|
||||
* \sa Tensor
|
||||
*/
|
||||
template<typename T, typename Dimensions, int Options_> class TensorStorage;
|
||||
template<typename T, typename Dimensions, int Options> class TensorStorage;
|
||||
|
||||
|
||||
// Pure fixed-size storage
|
||||
template<typename T, int Options_, typename FixedDimensions>
|
||||
class TensorStorage<T, FixedDimensions, Options_>
|
||||
template<typename T, typename FixedDimensions, int Options_>
|
||||
class TensorStorage
|
||||
{
|
||||
private:
|
||||
static const std::size_t Size = FixedDimensions::total_size;
|
||||
@ -66,7 +66,7 @@ class TensorStorage<T, FixedDimensions, Options_>
|
||||
|
||||
|
||||
// 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_>
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user