Skip to content

Commit

Permalink
Replaced if() conditions comparing class() to string with evaluations…
Browse files Browse the repository at this point in the history
… using inherits()
  • Loading branch information
CFWP committed Oct 13, 2023
1 parent 2df3ca9 commit 226f753
Show file tree
Hide file tree
Showing 6 changed files with 137 additions and 143 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

## Adjustments:
* Functions optPenaltyPchordal, ridgePchordal, ridgePsign, and support4ridgeP (temporarily) deprecated (for major adjustments)
* Replaced if() conditions comparing class() to string with evaluations using inherits()

## Documentation:
* Fixed URLs.
Expand Down
2 changes: 0 additions & 2 deletions R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ PNLL.fused <- function(Slist, Plist, ns, Tlist, lambda) {
#' @param S A sample covariance \code{matrix}.
#' @param target A \code{numeric} symmetric positive definite target
#' \code{matrix} of the same size as \code{S}.
#' @param alpha The diagonal value on the scalar target matrix. A \code{double}
#' of length 1.
#' @param lambda The ridge penalty. A \code{double} of length 1.
#' @param invert An \code{integer}. Should the estimate be computed using
#' inversion? Permitted values are \code{0L}, \code{1L}, and \code{2L} meaning
Expand Down
Loading

0 comments on commit 226f753

Please sign in to comment.