Skip to content

Commit

Permalink
Merge pull request #1130 from ngeiswei/fix-remove-and-bit-log
Browse files Browse the repository at this point in the history
Must log before the and-BIT gets removed
  • Loading branch information
ngeiswei committed Feb 22, 2017
2 parents 020bf84 + 236c1b5 commit 17698eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencog/rule-engine/backwardchainer/BackwardChainer.cc
Expand Up @@ -255,9 +255,9 @@ void BackwardChainer::reduce_bit()
// FCS from the bit atomspace.
auto it = std::next(_bit.andbits.begin(),
randGen().randint(_bit.size()));
_bit.erase(it);
LAZY_BC_LOG_DEBUG << "Remove " << it->fcs->idToString()
<< " from the BIT";
_bit.erase(it);
}
}
}
Expand Down

0 comments on commit 17698eb

Please sign in to comment.