diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-06-25 17:23:52 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-06-25 17:23:52 +0200 |
commit | b868bfb84a4a86231bb338e9bcf08afd882d32dc (patch) | |
tree | 29f019cbbe4f5821fc41c6f2358961fc99c7c7e0 /Eigen/src/Core/PermutationMatrix.h | |
parent | 3b19b466a7609fd381db2c53569d4d1d1621dbfc (diff) |
Make operator=(EigenBase<>) uses the new assignment mechanism and introduce a generic EigenBase to EigenBase assignment kind based on the previous evalTo mechanism.
Diffstat (limited to 'Eigen/src/Core/PermutationMatrix.h')
-rw-r--r-- | Eigen/src/Core/PermutationMatrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/Core/PermutationMatrix.h b/Eigen/src/Core/PermutationMatrix.h index 61aa0ce31..4399e1d64 100644 --- a/Eigen/src/Core/PermutationMatrix.h +++ b/Eigen/src/Core/PermutationMatrix.h @@ -803,6 +803,8 @@ struct evaluator_traits<Transpose<PermutationBase<Derived> > > static const int AssumeAliasing = 0; }; +template<> struct AssignmentKind<DenseShape,PermutationShape> { typedef EigenBase2EigenBase Kind; }; + } // end namespace internal #endif // EIGEN_TEST_EVALUATORS |