Fixed compilation error due to typename keyword in a cpp file
parent
8f9542b67d
commit
38324ce080
|
|
@ -43,7 +43,7 @@ pair<BayesNet<IndexConditional>::shared_ptr, IndexFactor::shared_ptr> IndexFacto
|
||||||
|
|
||||||
pair<BayesNet<Conditional>::shared_ptr, shared_ptr> result;
|
pair<BayesNet<Conditional>::shared_ptr, shared_ptr> result;
|
||||||
result.first.reset(new BayesNet<IndexConditional>());
|
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)
|
for(var = variables.begin(); result.first->size() < nrFrontals; ++var)
|
||||||
result.first->push_back(IndexConditional::FromRange(var, variables.end(), 1));
|
result.first->push_back(IndexConditional::FromRange(var, variables.end(), 1));
|
||||||
result.second.reset(new IndexFactor(var, variables.end()));
|
result.second.reset(new IndexFactor(var, variables.end()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue