Bugzilla – Attachment 845 Details for
Bug 1536
Assign double times selfadjointview at to sparseMatrix does not compile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
This bugzilla service is closed. All entries have been migrated to
https://gitlab.com/libeigen/eigen
result of compilation
log.txt (text/plain), 19.01 KB, created by
Vincent Huber
on 2018-04-04 18:52:26 UTC
(
hide
)
Description:
result of compilation
Filename:
MIME Type:
Creator:
Vincent Huber
Created:
2018-04-04 18:52:26 UTC
Size:
19.01 KB
patch
obsolete
>[ 50%] Building CXX object CMakeFiles/spsolver.dir/sp_solver.o >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp: In function âint main(int, char**)â: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:30: error: no match for âoperator*â (operand types are âdoubleâ and âEigen::SparseMatrixBase<Eigen::SparseMatrix<double> >::SelfAdjointViewReturnType<2u>::Type {aka Eigen::SparseSelfAdjointView<Eigen::SparseMatrix<double>, 2u>}â) > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:99:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/usr/include/c++/5/complex:386:5: note: candidate: template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const std::complex<_Tp>&) > operator*(const complex<_Tp>& __x, const complex<_Tp>& __y) > ^ >/usr/include/c++/5/complex:386:5: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst std::complex<_Tp>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:99:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/usr/include/c++/5/complex:395:5: note: candidate: template<class _Tp> std::complex<_Tp> std::operator*(const std::complex<_Tp>&, const _Tp&) > operator*(const complex<_Tp>& __x, const _Tp& __y) > ^ >/usr/include/c++/5/complex:395:5: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst std::complex<_Tp>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:99:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/usr/include/c++/5/complex:404:5: note: candidate: template<class _Tp> std::complex<_Tp> std::operator*(const _Tp&, const std::complex<_Tp>&) > operator*(const _Tp& __x, const complex<_Tp>& __y) > ^ >/usr/include/c++/5/complex:404:5: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: âEigen::SparseMatrixBase<Eigen::SparseMatrix<double> >::SelfAdjointViewReturnType<2u>::Type {aka Eigen::SparseSelfAdjointView<Eigen::SparseMatrix<double>, 2u>}â is not derived from âconst std::complex<_Tp>â > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:62:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:171:1: note: candidate: template<class SparseDerived, class PermutationType> const Eigen::Product<Eigen::Inverse<Rhs>, SparseDerived, 2> Eigen::operator*(const Eigen::InverseImpl<PermutationType, Eigen::PermutationStorage>&, const Eigen::SparseMatrixBase<Derived>&) > operator*(const InverseImpl<PermutationType,PermutationStorage>& tperm, const SparseMatrixBase<SparseDerived>& matrix) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:171:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::InverseImpl<PermutationType, Eigen::PermutationStorage>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:62:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:162:1: note: candidate: template<class SparseDerived, class PermutationType> const Eigen::Product<SparseDerived, Eigen::Inverse<Rhs>, 2> Eigen::operator*(const Eigen::SparseMatrixBase<Derived>&, const Eigen::InverseImpl<PermutationType, Eigen::PermutationStorage>&) > operator*(const SparseMatrixBase<SparseDerived>& matrix, const InverseImpl<PermutationType, PermutationStorage>& tperm) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:162:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::SparseMatrixBase<Derived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:62:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:154:1: note: candidate: template<class SparseDerived, class PermDerived> const Eigen::Product<PermDerived, SparseDerived, 2> Eigen::operator*(const Eigen::PermutationBase<PermutationDerived>&, const Eigen::SparseMatrixBase<Derived>&) > operator*( const PermutationBase<PermDerived>& perm, const SparseMatrixBase<SparseDerived>& matrix) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:154:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::PermutationBase<PermutationDerived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:62:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:147:1: note: candidate: template<class SparseDerived, class PermDerived> const Eigen::Product<MatrixDerived, PermutationDerived, 2> Eigen::operator*(const Eigen::SparseMatrixBase<Derived>&, const Eigen::PermutationBase<PermutationDerived>&) > operator*(const SparseMatrixBase<SparseDerived>& matrix, const PermutationBase<PermDerived>& perm) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparsePermutation.h:147:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::SparseMatrixBase<Derived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:513:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/Transpositions.h:350:1: note: candidate: template<class TranspositionsDerived, class MatrixDerived> const Eigen::Product<MatrixDerived, PermutationDerived, 2> Eigen::operator*(const Eigen::TranspositionsBase<TranspositionsDerived>&, const Eigen::MatrixBase<U>&) > operator*(const TranspositionsBase<TranspositionsDerived> &transpositions, > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/Transpositions.h:350:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::TranspositionsBase<TranspositionsDerived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:513:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/Transpositions.h:338:1: note: candidate: template<class MatrixDerived, class TranspositionsDerived> const Eigen::Product<MatrixDerived, PermutationDerived, 2> Eigen::operator*(const Eigen::MatrixBase<Derived>&, const Eigen::TranspositionsBase<TranspositionsDerived>&) > operator*(const MatrixBase<MatrixDerived> &matrix, > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/Transpositions.h:338:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::MatrixBase<Derived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:512:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/PermutationMatrix.h:555:1: note: candidate: template<class PermutationDerived, class MatrixDerived> const Eigen::Product<MatrixDerived, PermutationDerived, 2> Eigen::operator*(const Eigen::PermutationBase<PermutationDerived>&, const Eigen::MatrixBase<U>&) > operator*(const PermutationBase<PermutationDerived> &permutation, > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/PermutationMatrix.h:555:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::PermutationBase<PermutationDerived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:512:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/PermutationMatrix.h:543:1: note: candidate: template<class MatrixDerived, class PermutationDerived> const Eigen::Product<MatrixDerived, PermutationDerived, 2> Eigen::operator*(const Eigen::MatrixBase<Derived>&, const Eigen::PermutationBase<PermutationDerived>&) > operator*(const MatrixBase<MatrixDerived> &matrix, > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/PermutationMatrix.h:543:1: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::MatrixBase<Derived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:59:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h:109:5: note: candidate: template<class OtherDerived> Eigen::Product<OtherDerived, Eigen::SparseSelfAdjointView<Eigen::SparseMatrix<double>, 2u>, 0> Eigen::operator*(const Eigen::MatrixBase<Derived>&, const Eigen::SparseSelfAdjointView<Eigen::SparseMatrix<double>, 2u>&) > operator*(const MatrixBase<OtherDerived>& lhs, const SparseSelfAdjointView& rhs) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h:109:5: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::MatrixBase<Derived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:59:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h:93:5: note: candidate: template<class OtherDerived> Eigen::Product<OtherDerived, Eigen::SparseSelfAdjointView<Eigen::SparseMatrix<double>, 2u>, 0> Eigen::operator*(const Eigen::SparseMatrixBase<Derived>&, const Eigen::SparseSelfAdjointView<Eigen::SparseMatrix<double>, 2u>&) > operator*(const SparseMatrixBase<OtherDerived>& lhs, const SparseSelfAdjointView& rhs) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseSelfAdjointView.h:93:5: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::SparseMatrixBase<Derived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:37:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseMatrixBase.h:320:5: note: candidate: template<class OtherDerived> const Eigen::Product<OtherDerived, Eigen::SparseMatrix<double>, 0> Eigen::operator*(const Eigen::MatrixBase<Derived>&, const Eigen::SparseMatrixBase<Eigen::SparseMatrix<double> >&) > operator*(const MatrixBase<OtherDerived> &lhs, const SparseMatrixBase& rhs) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseMatrixBase.h:320:5: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::MatrixBase<Derived>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:37:0, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseMatrixBase.h:303:5: note: candidate: template<class OtherDerived> const Eigen::Product<OtherDerived, Eigen::SparseMatrix<double>, 0> Eigen::operator*(const Eigen::DiagonalBase<T>&, const Eigen::SparseMatrixBase<Eigen::SparseMatrix<double> >&) > operator*(const DiagonalBase<OtherDerived> &lhs, const SparseMatrixBase& rhs) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/SparseMatrixBase.h:303:5: note: template argument deduction/substitution failed: >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:56: note: mismatched types âconst Eigen::DiagonalBase<T>â and âdoubleâ > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >In file included from /home/vhuber/PERSO/code/eigen/Eigen/Core:91:0, > from /home/vhuber/PERSO/code/eigen/Eigen/SparseCore:11, > from /home/vhuber/PERSO/code/eigen/Eigen/Sparse:26, > from /home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:3: >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/../plugins/CommonCwiseBinaryOps.h:50:29: note: candidate: template<class T> const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<typename Eigen::internal::promote_scalar_arg<double, T, Eigen::internal::has_ReturnType<Eigen::ScalarBinaryOpTraits<T, double, Eigen::internal::scalar_product_op<T, double> > >::value>::type, double>, const typename Eigen::internal::plain_constant_type<Eigen::SparseMatrix<double>, typename Eigen::internal::promote_scalar_arg<double, T, Eigen::internal::has_ReturnType<Eigen::ScalarBinaryOpTraits<T, double, Eigen::internal::scalar_product_op<T, double> > >::value>::type>::type, const Eigen::SparseMatrix<double> > Eigen::operator*(const T&, const StorageBaseType&) > EIGEN_MAKE_SCALAR_BINARY_OP(operator*,product) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/util/Macros.h:989:4: note: in definition of macro âEIGEN_MAKE_SCALAR_BINARY_OP_ONTHELEFTâ > (METHOD)(const T& scalar, const StorageBaseType& matrix) { \ > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/../plugins/CommonCwiseBinaryOps.h:50:1: note: in expansion of macro âEIGEN_MAKE_SCALAR_BINARY_OPâ > EIGEN_MAKE_SCALAR_BINARY_OP(operator*,product) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/../plugins/CommonCwiseBinaryOps.h:50:29: note: template argument deduction/substitution failed: > EIGEN_MAKE_SCALAR_BINARY_OP(operator*,product) > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/Core/util/Macros.h:989:4: note: in definition of macro âEIGEN_MAKE_SCALAR_BINARY_OP_ONTHELEFTâ > (METHOD)(const T& scalar, const StorageBaseType& matrix) { \ > ^ >/home/vhuber/PERSO/code/eigen/Eigen/src/SparseCore/../plugins/CommonCwiseBinaryOps.h:50:1: note: in expansion of macro âEIGEN_MAKE_SCALAR_BINARY_OPâ > EIGEN_MAKE_SCALAR_BINARY_OP(operator*,product) > ^ >/home/vhuber/PERSO/code/eigen/bench/spbench/sp_solver.cpp:13:55: note: cannot convert âA.Eigen::SparseMatrix<double>::<anonymous>.Eigen::SparseCompressedBase<Eigen::SparseMatrix<double> >::<anonymous>.Eigen::SparseMatrixBase<Derived>::selfadjointView<2u>()â (type âEigen::SparseMatrixBase<Eigen::SparseMatrix<double> >::SelfAdjointViewReturnType<2u>::Type {aka Eigen::SparseSelfAdjointView<Eigen::SparseMatrix<double>, 2u>}â) to type âconst StorageBaseType& {aka const Eigen::SparseMatrixBase<Eigen::SparseMatrix<double> >&}â > SparseMatrix<double> D = 1.*A.selfadjointView<Upper>(); > ^ >CMakeFiles/spsolver.dir/build.make:62 : la recette pour la cible « CMakeFiles/spsolver.dir/sp_solver.o » a échouée >make[3]: *** [CMakeFiles/spsolver.dir/sp_solver.o] Erreur 1 >CMakeFiles/Makefile2:104 : la recette pour la cible « CMakeFiles/spsolver.dir/all » a échouée >make[2]: *** [CMakeFiles/spsolver.dir/all] Erreur 2 >CMakeFiles/Makefile2:116 : la recette pour la cible « CMakeFiles/spsolver.dir/rule » a échouée >make[1]: *** [CMakeFiles/spsolver.dir/rule] Erreur 2 >Makefile:131 : la recette pour la cible « spsolver » a échouée >make: *** [spsolver] Erreur 2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1536
: 845