Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A coding error in bsplinebasis.cpp line 118 when I try the lastest Eigen #116

Open
QinjieXiao opened this issue Dec 15, 2018 · 0 comments
Open

Comments

@QinjieXiao
Copy link

QinjieXiao commented Dec 15, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant