Skip to content

Commit

Permalink
change default sign_irf
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwang15 committed Jul 16, 2024
1 parent cc608dc commit 4369af6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/specify_bsvarSIGN.R
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ specify_identification_bsvarSIGN = R6::R6Class(

missing_all = TRUE
if (missing(sign_irf)) {
sign_irf = array(rep(0, N^2), dim = c(N, N, 1))
sign_irf = array(rep(NA, N^2), dim = c(N, N, 1))
} else {
missing_all = FALSE
}
Expand Down Expand Up @@ -553,7 +553,7 @@ specify_identification_bsvarSIGN = R6::R6Class(

missing_all = TRUE
if (missing(sign_irf)) {
sign_irf = array(rep(0, N^2), dim = c(N, N, 1))
sign_irf = array(rep(NA, N^2), dim = c(N, N, 1))
} else {
missing_all = FALSE
}
Expand Down Expand Up @@ -678,7 +678,7 @@ specify_bsvarSIGN = R6::R6Class(

missing_all = TRUE
if (missing(sign_irf)) {
sign_irf = array(rep(0, N^2), dim = c(N, N, 1))
sign_irf = array(rep(NA, N^2), dim = c(N, N, 1))
} else {
missing_all = FALSE
}
Expand Down

0 comments on commit 4369af6

Please sign in to comment.