In working on the predefined stuff with nEigen as the test case, I had difficulty with the following use case:
Because y is not of type Eigen_decomp, no object of type Eigen_decomp is in the symbol table, so we don't end up with Eigen_decomp in needed_nClasses, so the needed Eigen_decomp code file is not put in nCompiler_generatedCode and nEigen can't be found nor can its output type.
I am fixing this by adding
auxEnv$needed_nClasses <- c(auxEnv$needed_nClasses, EigenDecomp)
to the nEigen LAT handler.
@perrydv before I do this for other predefined class cases, please let me know if this sounds like a reasonable solution.
In working on the predefined stuff with nEigen as the test case, I had difficulty with the following use case:
Because
yis not of typeEigen_decomp, no object of typeEigen_decompis in the symbol table, so we don't end up withEigen_decompinneeded_nClasses, so the needed Eigen_decomp code file is not put innCompiler_generatedCodeandnEigencan't be found nor can its output type.I am fixing this by adding
to the nEigen LAT handler.
@perrydv before I do this for other predefined class cases, please let me know if this sounds like a reasonable solution.