Fixed compile error on GCC

release/4.3a0
Richard Roberts 2012-10-08 23:15:16 +00:00
parent 3218a7bca4
commit 2719f7ca86
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ namespace gtsam {
// The variables we want to keepSet are exactly the ones in S
sharedConditional p_F_S = this->conditional();
std::vector<Index> indicesS = p_F_S->parents();
std::vector<Index> indicesS(p_F_S->beginParents(), p_F_S->endParents());
inverseReduction.applyInverse(indicesS);
gttoc(Reduce);