aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2014-06-10 10:23:32 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2014-06-10 10:23:32 -0700
commit4304c7354273487cca139f9988c90378162773e9 (patch)
tree8fb410a36c73675fa4a2a88b45382ec800db52cf /unsupported/Eigen/CXX11/src/Tensor/Tensor.h
parent925fb6b93710b95082ba44d30405289dff3707eb (diff)
parentabc1ca0af14872fe44e583faa2b43e496b038f8a (diff)
Pulled latest updates from the Eigen main trunk.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/Tensor.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/Tensor.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
index e034f8c03..7f614bbe8 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
@@ -58,13 +58,6 @@ namespace Eigen {
* \ref TopicStorageOrders
*/
-namespace internal {
-
-/* Forward-declaration required for the symmetry support. */
-template<typename Tensor_, typename Symmetry_, int Flags = 0> class tensor_symmetry_value_setter;
-
-} // end namespace internal
-
template<typename Scalar_, std::size_t NumIndices_, int Options_>
class Tensor : public TensorBase<Tensor<Scalar_, NumIndices_, Options_> >
{
@@ -274,20 +267,6 @@ class Tensor : public TensorBase<Tensor<Scalar_, NumIndices_, Options_> >
#endif
}
-#ifdef EIGEN_HAS_VARIADIC_TEMPLATES
- template<typename Symmetry_, typename... IndexTypes>
- internal::tensor_symmetry_value_setter<Self, Symmetry_> symCoeff(const Symmetry_& symmetry, Index firstIndex, IndexTypes... otherIndices)
- {
- return symCoeff(symmetry, array<Index, NumIndices>{{firstIndex, otherIndices...}});
- }
-
- template<typename Symmetry_, typename... IndexTypes>
- internal::tensor_symmetry_value_setter<Self, Symmetry_> symCoeff(const Symmetry_& symmetry, array<Index, NumIndices> const& indices)
- {
- return internal::tensor_symmetry_value_setter<Self, Symmetry_>(*this, symmetry, indices);
- }
-#endif
-
protected:
bool checkIndexRange(const array<Index, NumIndices>& indices) const
{