Fixed typo

release/4.3a0
jingwuOUO 2020-11-30 10:06:29 -05:00
parent 63e1eb29e2
commit 5cb45e7e25
1 changed files with 1 additions and 1 deletions

View File

@ -383,7 +383,7 @@ Subgraph SubgraphBuilder::operator()(const GaussianFactorGraph &gfg) const {
const vector<size_t> tree = buildTree(gfg, forward_ordering, weights);
if (tree.size() != n - 1) {
throw std::runtime_error(
"SubgraphBuilder::operator() failure: tree.size() != n-1, might caused by disconnected graph");
"SubgraphBuilder::operator() failure: tree.size() != n-1, might be caused by disconnected graph");
}
// Downweight the tree edges to zero.