![]() Registered Member ![]()
|
hey,
i have open an old projekt with visual studio 2012. And I get an error if I use "Hs.inverse()*u" (Hs is a MatrixXd, u is a Vector). If I use Hs.fullPivLu().solve(u) ervery thing is right. The error is: "Eine nicht behandelte Ausnahme des Typs "System.AccessViolationException" ist in Interpolation.exe aufgetreten. Zusätzliche Informationen: Es wurde versucht, im geschützten Speicher zu lesen oder zu schreiben. Dies ist häufig ein Hinweis darauf, dass anderer Speicher beschädigt ist." An unhandled exception of type "System.AccessViolationException" occurred in Interpolation.exe. An attempt was made to read or write protected memory. This is often an indication that other memory is corrupt. the programm stops at PacketMath.h Line293 any ideas? (I can't change the plattformtoolset because some libraries need v110) |
![]() Moderator ![]()
|
Yes, Eigen does work with MSVC 2012, and "Hs.inverse()*u" works for me. You could run a memory debugger to track the issue. Anyway, using Hs.partialPivLU().solve(u) is much better than explicitly computing the inverse.
|
![]() Registered Member ![]()
|
I need the inverse of Hs for another calculation... so I have to use the "Hs.inverse()"
edit: I think I'll go the easy way and eliminate all functions from v110. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]