Fixed compilation error due to typename keyword in a cpp file

release/4.3a0
Alex Cunningham 2011-01-26 04:59:24 +00:00
parent 8f9542b67d
commit 38324ce080
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ pair<BayesNet<IndexConditional>::shared_ptr, IndexFactor::shared_ptr> IndexFacto
pair<BayesNet<Conditional>::shared_ptr, shared_ptr> result;
result.first.reset(new BayesNet<IndexConditional>());
typename FastSet<Index>::const_iterator var;
FastSet<Index>::const_iterator var;
for(var = variables.begin(); result.first->size() < nrFrontals; ++var)
result.first->push_back(IndexConditional::FromRange(var, variables.end(), 1));
result.second.reset(new IndexFactor(var, variables.end()));