Comments (7)
This could be due to the different versions of Eigen - SPLINTER uses 3.2.8, and my libraries are compiled with 3.3.7. However, SPLINTER does not compile with newer Eigen, as line 122 in bsplinebasis.cpp uses InnerIterator which has been made private:
2>F:\D\VariousCodes\splinter\src\bsplinebasis.cpp(122,9): error C2248: 'Eigen::SparseCompressedBase<Eigen::SparseMatrix<double,0,int>>::InnerIterator::InnerIterator': cannot access private member declared in class 'Eigen::SparseCompressedBase<Eigen::SparseMatrix<double,0,int>>::InnerIterator'
Could you please advise how to adapt SPLINTER for newer version of Eigen?
Thank you,
Yuri
from splinter.
Just checked - same data cause no problems when other libraries compiled with later version of Eigen are not present. Is it possible to modify the code so it will work with Eigen 3.3.7?
Thank you,
Yuri
from splinter.
It should definitely be possible to make the code work with Eigen 3.3.7 or a later version. Since I have not read the release notes of the newer Eigen versions, I am not sure how much work it would require. That said, past updates have not required many modifications.
I have noted that, if we ever get around to preparing a new release of SPLINTER, we should consider updating to a newer Eigen version.
from splinter.
Thank you for replying. I tried to recompile OpenCV and PCL with Eigen 3.2.8, but the program still crashes. So meanwhile the only way for me is to write a file with data, spawn another process that calculates a spline and writes the result. My program waits for the completion, reads the output and keeps going. Which is awfully awkward. Looks like the only problem is to replace in SPLINTER the InnerIterator that I mentioned above with non-private member of SparseCompressedBase.
from splinter.
I tried forking your repo to integrate with more recent Eigen. The patch I made to deal with the constructor issue I dropped the k argument and changed matrix to vector. Based on the type I assumed that the column vector only needs to be iterated in a single dimension.
Let me know if this isn't appropriate. The tests continued to pass but I don't know if this code is covered by tests.
from splinter.
from splinter.
from splinter.
Related Issues (20)
- Greater than bivariate B-splines HOT 4
- Faster bspline evaluation using vectors? HOT 3
- One bug in PSPLINE HOT 1
- What is the structure of the PyPI splinter package? HOT 1
- Number of spans in U and V direction in resulting surface HOT 1
- How to obtain libsplinter-4-0.dll in Win10 ? HOT 1
- P-Spline: determine the "best" smoothing parameter HOT 2
- Potential memory leak HOT 4
- Using library in c# code HOT 2
- Knot placement under knot multiplicity HOT 1
- How to plot the b_spline curve in x-y plane? HOT 1
- not-a-knot end conditions
- Protected constructor BSpline() results in error C2248 - cannot access protected member HOT 8
- Very slow build of the bspline object HOT 20
- Automatic smoothing parameter selection HOT 3
- Run C++ sample code all night and can not return back result HOT 1
- In python spline.eval_jacobian(p) returns only the first column of the jacobian HOT 2
- Comparisons to some other standard spline packages? HOT 1
- C++ interface example outputs "double free or corruption (out)"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from splinter.