Skip to content

Commit e8fda58

Browse files
committed
try to fix the errors
1 parent 80767e4 commit e8fda58

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bgmCompare_logp_and_grad.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -321,9 +321,9 @@ arma::vec gradient(
321321
// Observed sufficient statistics
322322
// -------------------------------
323323
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];
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];
327327

328328
// Main effects
329329
for (int v = 0; v < num_variables; ++v) {

0 commit comments

Comments
 (0)