Library for multivariate function approximation with splines (B-spline, P-spline, and more) with interfaces to C++, C, Python and MATLAB
Mozilla Public License 2.0
418
stars
115
forks
source link
A coding error in bsplinebasis.cpp line 118 when I try the lastest Eigen #116
Open
QinjieXiao opened 5 years ago
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>
I think it shoud be: for (SparseVector::InnerIterator it(Ji,k); it; ++it), because the type of Ji is SparseVector. And it works