Registered Member
|
Hello everyone,
I know it might be abusing the sparse facilities, but should it be possible to use, say, std::vector for DynamicSparseMatrix coefficient type? It *seems* like it's working, template gets properly instantiated and I can even access the coefficients. However as I'm filling out the values, I start getting strange memory errors so I figured it's not as smooth as I thought it would be. Thanks, Dimitri. |
Moderator
|
if your goal is only to store data I don't which it would fails. Do you have a small self contained example showing the issue?
|
Registered Member
|
Sure thing, here's one... I'm using Eigen 3.0.0. GCC info:
Edit: I tried compiling the same on a different machine with gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) and getting segfaults as well.
|
Moderator
|
hi, this is fixed in the default branch.
|
Registered Member
|
Awesome, thanks for your help!
|
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar