Re: [Rd] Compiling error with glmnet and nloptr

2022-03-10 Thread jing hua zhao
Also for now, I commented on self().template update at lines 59,90 of glmnetpp/include/glmnetpp_bits/elnet_point/gaussian_base.hpp and glmnet also passed , so example(glmnet) gives the familiar results. Ideally, some better solution is preferable. Jing Hua From:

[Rd] Compiling error with glmnet and nloptr

2022-03-10 Thread jing hua zhao
Dear All, I haven't been able to compile the latest glmnet and nloptr from CRAN wth the following error messages, glmnet: elnet_exp.cpp:141:59: required from here glmnetpp/include/glmnetpp_bits/elnet_point/gaussian_base.hpp:90:39: error: 'self' was not declared in this scope