-
Notifications
You must be signed in to change notification settings - Fork 5
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
out of bound of MatrixXx1 #1
Comments
Thanks for getting in touch! |
Thank you for your reply! Proceed to run the program, and an error occurs at line 69 of the file Parameterizer. CPP. I tried to print the size of _A is 11648, and the size of _a is 69872. _a is much larger than _A, so the program reported the above error when initializing the matrix _A. Since I'm not very familiar with Eigen3, I don't know if they are because I'm not installing the right version. Would it be convenient for you to tell me about your configuration environment?Thank you very much! |
Thank you for the additional info! I'm using Eigen3 versions 3.3.7 on OSX and 3.3.8 on Ubuntu , and the latest OpenMesh built with the default configuration on both platforms. Both are using the default buildchains with CMake. |
I've committed a fix that I believe handles the error. Please try it out and let me know. |
Thank you for your reply. I think I found the mistake.
I'm also confused as to why this error was generated on my computer environment. |
This is an unexpected issue. I've committed a fix for your issue. |
I'm running Ubuntu16.0.4 on a VMware virtual machine. |
error: lscm: /usr/local/include/eigen3/Eigen/src/SparseCore/SparseMatrix.h:935: void Eigen::internal::set_from_triplets(const InputIterator&, const InputIterator&, SparseMatrixType&, DupFunctor) [with InputIterator = __gnu_cxx::__normal_iterator<Eigen::Triplet*, std::vector<Eigen::Triplet > >; SparseMatrixType = Eigen::SparseMatrix<double, 0, int>; DupFunctor = Eigen::internal::scalar_sum_op<double, double>]: Assertion `it->row()>=0 && it->row()<mat.rows() && it->col()>=0 && it->col()<mat.cols()' failed.
I have positioned the problem and the error location is Parameterizer. CPP assigns values to _fx[vid. u] and _FX [vid. v] in line 155.Where the size of _fx is 4, while the values of vid. u and vid. v have exceeded 4.
The text was updated successfully, but these errors were encountered: