aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Zero.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/Zero.h')
-rw-r--r--Eigen/src/Core/Zero.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Core/Zero.h b/Eigen/src/Core/Zero.h
index 106742d32..15108b794 100644
--- a/Eigen/src/Core/Zero.h
+++ b/Eigen/src/Core/Zero.h
@@ -41,7 +41,8 @@ struct ei_traits<Zero<MatrixType> >
ColsAtCompileTime = MatrixType::ColsAtCompileTime,
MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime,
MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime,
- Flags = MatrixType::Flags
+ Flags = MatrixType::Flags,
+ CoeffReadCost = NumTraits<Scalar>::ReadCost
};
};