aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h
diff options
context:
space:
mode:
authorGravatar Christian Seiler <christian@iwakd.de>2014-06-04 20:44:22 +0200
committerGravatar Christian Seiler <christian@iwakd.de>2014-06-04 20:44:22 +0200
commit96cb58fa3b83448fcb2af2d131434a7ac10b915c (patch)
tree531c23ae8ad7b265dc256d6dcaf178ea2eec231c /unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h
parentea9943352368b990d27ba22eb8670287cf96302d (diff)
unsupported/TensorSymmetry: factor out completely from Tensor module
Remove the symCoeff() method of the the Tensor module and move the functionality into a new operator() of the symmetry classes. This makes the Tensor module now completely self-contained without symmetry support (even though previously it was only a forward declaration and a otherwise harmless trivial templated method) and also removes the inconsistency with the rest of eigen w.r.t. the method's naming scheme.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h')
-rw-r--r--unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h b/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h
index f1ccc33ef..879d6cd77 100644
--- a/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h
+++ b/unsupported/Eigen/CXX11/src/TensorSymmetry/Symmetry.h
@@ -293,7 +293,7 @@ struct tensor_symmetry_calculate_flags
}
};
-template<typename Tensor_, typename Symmetry_, int Flags>
+template<typename Tensor_, typename Symmetry_, int Flags = 0>
class tensor_symmetry_value_setter
{
public: