diff --git a/src/compute.cpp b/src/compute.cpp index 998c4a1..abf4f88 100644 --- a/src/compute.cpp +++ b/src/compute.cpp @@ -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; diff --git a/src/compute.h b/src/compute.h index 7c79e09..eace87f 100644 --- a/src/compute.h +++ b/src/compute.h @@ -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 );