Skip to content

Commit

Permalink
fix non-cast line for python
Browse files Browse the repository at this point in the history
  • Loading branch information
ygeunkim committed Nov 4, 2024
1 parent 6333916 commit 23c913d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inst/include/bvharconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ struct SparseRecords {
}

void appendRecords(LIST& list, int dim, int num_alpha, bool include_mean) {
list["alpha_sparse_record"] = coef_record.leftCols(num_alpha);
list["alpha_sparse_record"] = CAST_MATRIX(coef_record.leftCols(num_alpha));
list["a_sparse_record"] = contem_coef_record;
if (include_mean) {
list["c_sparse_record"] = CAST_MATRIX(coef_record.rightCols(dim));
Expand Down
2 changes: 1 addition & 1 deletion python/tests/test_bayes.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def test_var_bayes():
help_var_bayes(
dim_data, var_lag, data, num_chains, num_threads, num_iter, num_burn, thin, intercept, minnesota,
SsvsConfig(), LdltConfig(),
data_out, n_ahead, True, True, True
data_out, n_ahead, False, False, False
)
help_var_bayes(
dim_data, var_lag, data, num_chains, num_threads, num_iter, num_burn, thin, intercept, minnesota,
Expand Down

0 comments on commit 23c913d

Please sign in to comment.