Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up`lower_tri` / `upper_tri` non-functional #641
Comments
|
Ewww. Vote for disabling these until fixed. Doesn't even work for symmetric matrices. |
|
I think I have a fix; just putting together unit tests now. |
Fixes for upper_tri and lower_tri with unit tests (closes #641)
Both the
lower_triandupper_trisugar functions are non-functional for two reasons:Matrixas CTRP's base isVectorBaseinstead ofMatrixBase.LogicalVectorleads the R process to hang.After glancing at the source, it appears as if both of functions were DOA and should not have been pushed back with Rcpp 0.8.3. Though, this remark is made in light of the fact that there are no unit tests governing these functions.
The following will hang your R session
Example of desired output: