Registered Member
|
Hi,
I'd like to solve a non-linear System using Eigen. I got the class "Model" which defines "int operator() .."
Above code works fine, but needs a fvec to be predefined. Assume I had another class "Loop" which defines "setM" and "getDP" and a container-list "loopList_" of "Loop"s to process. One equation per Loop.
But this doesnt work because the debugger says: loopList_ is <not accessible> Probably "const" is the troublemaker, but I don't know what to do next. Any idea? thanks kwurpi |
Moderator
|
maybe loopList_ is private? if so make it protected.
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]