Registered Member
|
I am trying to add functionalities to the BandMatrix class.
To add a row() function to BandMatrix, I inherit the Eigen::internal::BandMatrixBase and add a row function inside:
I now carbon-copy the Eigen::internal::BandMatrix class, with the difference that the base is my custom BANDEDMatrixBase
This all seems to work ok but when I now create a banded matrix, I get an error that the class template has too few template arguments. Why exactly does this happen and what's the fix? I know I could simply change Eigen's source code but I am looking for portability for now. Even by using the original BandMatrixBase, I always get the error that the template has too few arguments. |
Registered Member
|
The fix was in forward declaring the new class
|
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]