From 38324ce0805c77b2e0ac886f738304ea24f79f3b Mon Sep 17 00:00:00 2001 From: Alex Cunningham Date: Wed, 26 Jan 2011 04:59:24 +0000 Subject: [PATCH] Fixed compilation error due to typename keyword in a cpp file --- gtsam/inference/IndexFactor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/inference/IndexFactor.cpp b/gtsam/inference/IndexFactor.cpp index d427d0a95..f0d9f7c45 100644 --- a/gtsam/inference/IndexFactor.cpp +++ b/gtsam/inference/IndexFactor.cpp @@ -43,7 +43,7 @@ pair::shared_ptr, IndexFactor::shared_ptr> IndexFacto pair::shared_ptr, shared_ptr> result; result.first.reset(new BayesNet()); - typename FastSet::const_iterator var; + FastSet::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()));