@@ -182,12 +182,12 @@ BEGIN_RCPP
182182END_RCPP
183183}
184184// sample_ggm
185- Rcpp::List sample_ggm (const arma::mat& X , const arma::mat& prior_inclusion_prob, const arma::imat& initial_edge_indicators, const int no_iter, const int no_warmup, const int no_chains, const bool edge_selection, const int seed, const int no_threads, const int progress_type);
186- RcppExport SEXP _bgms_sample_ggm (SEXP XSEXP , SEXP prior_inclusion_probSEXP, SEXP initial_edge_indicatorsSEXP, SEXP no_iterSEXP, SEXP no_warmupSEXP, SEXP no_chainsSEXP, SEXP edge_selectionSEXP, SEXP seedSEXP, SEXP no_threadsSEXP, SEXP progress_typeSEXP) {
185+ Rcpp::List sample_ggm (const Rcpp::List& inputFromR , const arma::mat& prior_inclusion_prob, const arma::imat& initial_edge_indicators, const int no_iter, const int no_warmup, const int no_chains, const bool edge_selection, const int seed, const int no_threads, const int progress_type);
186+ RcppExport SEXP _bgms_sample_ggm (SEXP inputFromRSEXP , SEXP prior_inclusion_probSEXP, SEXP initial_edge_indicatorsSEXP, SEXP no_iterSEXP, SEXP no_warmupSEXP, SEXP no_chainsSEXP, SEXP edge_selectionSEXP, SEXP seedSEXP, SEXP no_threadsSEXP, SEXP progress_typeSEXP) {
187187BEGIN_RCPP
188188 Rcpp::RObject rcpp_result_gen;
189189 Rcpp::RNGScope rcpp_rngScope_gen;
190- Rcpp::traits::input_parameter< const arma::mat & >::type X (XSEXP );
190+ Rcpp::traits::input_parameter< const Rcpp::List & >::type inputFromR (inputFromRSEXP );
191191 Rcpp::traits::input_parameter< const arma::mat& >::type prior_inclusion_prob (prior_inclusion_probSEXP);
192192 Rcpp::traits::input_parameter< const arma::imat& >::type initial_edge_indicators (initial_edge_indicatorsSEXP);
193193 Rcpp::traits::input_parameter< const int >::type no_iter (no_iterSEXP);
@@ -197,7 +197,7 @@ BEGIN_RCPP
197197 Rcpp::traits::input_parameter< const int >::type seed (seedSEXP);
198198 Rcpp::traits::input_parameter< const int >::type no_threads (no_threadsSEXP);
199199 Rcpp::traits::input_parameter< const int >::type progress_type (progress_typeSEXP);
200- rcpp_result_gen = Rcpp::wrap (sample_ggm (X , prior_inclusion_prob, initial_edge_indicators, no_iter, no_warmup, no_chains, edge_selection, seed, no_threads, progress_type));
200+ rcpp_result_gen = Rcpp::wrap (sample_ggm (inputFromR , prior_inclusion_prob, initial_edge_indicators, no_iter, no_warmup, no_chains, edge_selection, seed, no_threads, progress_type));
201201 return rcpp_result_gen;
202202END_RCPP
203203}
0 commit comments