Fix Gcc8.5 warning about missing base class initialisation (#2404)

This commit is contained in:
Matthias Möller
2022-01-07 11:02:55 +01:00
committed by David Tellenbach
parent 47eac21072
commit c9df98b071
3 changed files with 3 additions and 3 deletions

View File

@@ -275,7 +275,7 @@ class Tensor : public TensorBase<Tensor<Scalar_, NumIndices_, Options_, IndexTyp
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE Tensor(const Self& other)
: m_storage(other.m_storage)
: Base(other), m_storage(other.m_storage)
{
}