Assign double times selfadjointview at to sparseMatrix does not compile
Submitted by Vincent Huber
Assigned to Nobody
Link to original bugzilla bug (#1536)
Version: 3.3 (current stable)
Description
Created attachment 845
result of compilation
The following does not compile
#include <iostream>
#include <fstream>
#include <Eigen/Sparse>
using namespace std;
using namespace Eigen;
int main(int argc, char **args)
{
SparseMatrix<double> A;
SparseMatrix<double> B = 1.*A;
SparseMatrix<double> C = A.selfadjointView<Upper>();
SparseMatrix<double> D = 1.*A.selfadjointView<Upper>();
return 0;
}
Attachment 845, "result of compilation":
log.txt