mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-15 21:26:00 +08:00
Fixed compilation error with gcc 4.4
This commit is contained in:
parent
7ef9f47b58
commit
84b2060a9e
@ -106,7 +106,7 @@ struct TensorEvaluator<const TensorScanOp<Op, ArgType>, Device> {
|
|||||||
m_output(NULL) {
|
m_output(NULL) {
|
||||||
|
|
||||||
// Accumulating a scalar isn't supported.
|
// Accumulating a scalar isn't supported.
|
||||||
EIGEN_STATIC_ASSERT(NumDims > 0, YOU_MADE_A_PROGRAMMING_MISTAKE);
|
EIGEN_STATIC_ASSERT((NumDims > 0), YOU_MADE_A_PROGRAMMING_MISTAKE);
|
||||||
eigen_assert(m_axis >= 0 && m_axis < NumDims);
|
eigen_assert(m_axis >= 0 && m_axis < NumDims);
|
||||||
|
|
||||||
// Compute stride of scan axis
|
// Compute stride of scan axis
|
||||||
|
Loading…
x
Reference in New Issue
Block a user