Skip to content

Commit

Permalink
get rid of the const to address the mistakes from CRAN #59
Browse files Browse the repository at this point in the history
  • Loading branch information
donotdespair committed Jan 28, 2025
1 parent 1e09427 commit 2353796
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/compute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ using namespace arma;
// [[Rcpp::interfaces(cpp)]]
// [[Rcpp::export]]
arma::cube bsvarSIGNs_structural_shocks (
const arma::cube& posterior_B, // (N, N, S)
const arma::cube& posterior_A, // (N, K, S)
const arma::mat& Y, // NxT dependent variables
const arma::mat& X // KxT dependent variables
arma::cube& posterior_B, // (N, N, S)
arma::cube& posterior_A, // (N, K, S)
arma::mat& Y, // NxT dependent variables
arma::mat& X // KxT dependent variables
) {
cube structural_shocks = bsvars::bsvars_structural_shocks (posterior_B, posterior_A, Y, X);
return structural_shocks;
Expand Down
8 changes: 4 additions & 4 deletions src/compute.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@


arma::cube bsvarSIGNs_structural_shocks (
const arma::cube& posterior_B, // (N, N, S)
const arma::cube& posterior_A, // (N, K, S)
const arma::mat& Y, // NxT dependent variables
const arma::mat& X // KxT dependent variables
arma::cube& posterior_B, // (N, N, S)
arma::cube& posterior_A, // (N, K, S)
arma::mat& Y, // NxT dependent variables
arma::mat& X // KxT dependent variables
);


Expand Down

0 comments on commit 2353796

Please sign in to comment.