diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-10-14 10:14:47 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-10-14 10:14:47 +0200 |
commit | 527fc4bc86380eee9e9d77fd1890556da8070fc3 (patch) | |
tree | 3436d1801f509e2b8736739eaa83455b52b0e8a9 /Eigen/src/SparseCore/SparseSelfAdjointView.h | |
parent | 2598f3987edc704d9c95e1c207d3533e26314ca0 (diff) |
Fix ambiguous instantiation issues of product_evaluator.
Diffstat (limited to 'Eigen/src/SparseCore/SparseSelfAdjointView.h')
-rw-r--r-- | Eigen/src/SparseCore/SparseSelfAdjointView.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/SparseCore/SparseSelfAdjointView.h b/Eigen/src/SparseCore/SparseSelfAdjointView.h index 97e7293c7..46c6ce1d3 100644 --- a/Eigen/src/SparseCore/SparseSelfAdjointView.h +++ b/Eigen/src/SparseCore/SparseSelfAdjointView.h @@ -336,7 +336,7 @@ struct generic_product_impl<Lhs, RhsView, DenseShape, SparseSelfAdjointShape, Pr // TODO: maybe the copy could be handled by generic_product_impl so that these overloads would not be needed anymore template<typename LhsView, typename Rhs, int ProductTag> -struct product_evaluator<Product<LhsView, Rhs, DefaultProduct>, ProductTag, SparseSelfAdjointShape, SparseShape, typename traits<LhsView>::Scalar, typename traits<Rhs>::Scalar> +struct product_evaluator<Product<LhsView, Rhs, DefaultProduct>, ProductTag, SparseSelfAdjointShape, SparseShape> : public evaluator<typename Product<typename Rhs::PlainObject, Rhs, DefaultProduct>::PlainObject> { typedef Product<LhsView, Rhs, DefaultProduct> XprType; @@ -356,7 +356,7 @@ protected: }; template<typename Lhs, typename RhsView, int ProductTag> -struct product_evaluator<Product<Lhs, RhsView, DefaultProduct>, ProductTag, SparseShape, SparseSelfAdjointShape, typename traits<Lhs>::Scalar, typename traits<RhsView>::Scalar> +struct product_evaluator<Product<Lhs, RhsView, DefaultProduct>, ProductTag, SparseShape, SparseSelfAdjointShape> : public evaluator<typename Product<Lhs, typename Lhs::PlainObject, DefaultProduct>::PlainObject> { typedef Product<Lhs, RhsView, DefaultProduct> XprType; |