mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-22 15:13:19 +01:00
Forgot a const in IndexName only version of NamedTensor constructor
This commit is contained in:
1 parent
9ae4d369f3
commit
a865caf0d2
1 file changed
+1
-1
+1
-1
@@ -335,7 +335,7 @@ public:
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NamedTensor() : IndexNames{NumIndices_} {}
|
||||
|
||||
// Construct a named tensor without specifying size of each dimension (because it will be loaded from file)
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NamedTensor(std::array<std::string,NumIndices_> &IndexNames_)
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NamedTensor(const std::array<std::string,NumIndices_> &IndexNames_)
|
||||
: IndexNames{NumIndices_}
|
||||
{
|
||||
for( int i = 0; i < NumIndices_; i++ )
|
||||
|
||||
Reference in new issue
Block a user