We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80767e4 commit e8fda58Copy full SHA for e8fda58
src/bgmCompare_logp_and_grad.cpp
@@ -321,9 +321,9 @@ arma::vec gradient(
321
// Observed sufficient statistics
322
// -------------------------------
323
for (int g = 0; g < num_groups; ++g) {
324
- const arma::imat& counts_per_category = counts_per_category_group[g];
325
- const arma::imat& blume_capel_stats = blume_capel_stats_group[g];
326
- const arma::mat& pairwise_stats = pairwise_stats_group[g];
+ const arma::imat counts_per_category = counts_per_category_group[g];
+ const arma::imat blume_capel_stats = blume_capel_stats_group[g];
+ const arma::mat pairwise_stats = pairwise_stats_group[g];
327
328
// Main effects
329
for (int v = 0; v < num_variables; ++v) {
0 commit comments