Matching glmnet and CCD