aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-07-06 17:02:29 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-07-06 17:02:29 -0700
commit3f2101b03b1fb96ef521dce3ae966ac18e90266d (patch)
tree758e07eed29d76e610cb6204e68035a26a3ea0cf /unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
parent0485a2468da77b7b4f8ed3e83605e5919bb7f55e (diff)
Use numext::swap instead of std::swap
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
index fd2f3abc4..59ae4a2d0 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContraction.h
@@ -662,7 +662,7 @@ struct TensorContractionEvaluatorBase
// If the layout is RowMajor, we need to reverse the m_dimensions
if (static_cast<int>(Layout) == static_cast<int>(RowMajor)) {
for (int i = 0, j = NumDims - 1; i < j; i++, j--) {
- std::swap(m_dimensions[i], m_dimensions[j]);
+ numext::swap(m_dimensions[i], m_dimensions[j]);
}
}
}