Skip to content

Commit

Permalink
Add NA option to
Browse files Browse the repository at this point in the history
  • Loading branch information
nk027 committed Feb 20, 2020
1 parent 4bf76fd commit 805a811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/62_sign_restr.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sign_restr <- function(sigma_chol, sign_restr, M, sign_lim = 10000) {

counter <- 0
sign_vec <- as.vector(sign_restr)
restricted <- which(sign_vec != 0)
restricted <- which(sign_vec != 0 | !is.na(sign_vec))

while(TRUE) {
counter <- counter + 1
Expand Down

0 comments on commit 805a811

Please sign in to comment.