Registered Member
|
I am trying to run the following function:
where (*value) is a VectorXd. It compiles fine, but when I run it SOMETIMES I get this error:
This happens about half the times I run it, and the other half it runs fine. Is this a bug? Or am I doing something I shouldn't? Thanks |
Registered Member
|
I presume you've ensured the dimensions are consistent, i.e. cols of Mat = rows of *value.
|
Moderator
|
please be more specific. running your programming under a debugger to get the trace and the values of index, size(), etc.
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]