mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +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
|
* \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:
|
||||||
|
Loading…
Reference in New Issue
Block a user