A coding error in bsplinebasis.cpp line 118 when I try the lastest Eigen
QinjieXiao opened this issue · 0 comments
QinjieXiao commented
A coding error in bsplinebasis.cpp line 122 :for (SparseMatrix::InnerIterator it(Ji,k); it; ++it)
When I try the lastest Eigen, it output the following error:
error:
calling a private constructor of class
'Eigen::SparseCompressedBase<Eigen::SparseMatrix<double, 0, int>
>::InnerIterator'
for (SparseMatrix::InnerIterator it(Ji,k); it; ++it)
^
/Users/jerry/Documents/articles/Faces/mycode/shadow_face/3rdparty/src/splinter/thirdparty/Eigen/Eigen/src/SparseCore/SparseCompressedBase.h:210:26: note:
declared private here
template InnerIterator(const SparseMatrixBase&, Ind...
I think it shoud be: for (SparseVector::InnerIterator it(Ji,k); it; ++it), because the type of Ji is SparseVector. And it works