From b3ba46241c857480c73baa1c77e17b69ac5e2515 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Sun, 28 Oct 2012 06:37:57 +0000 Subject: [PATCH] Missing typename --- gtsam/inference/BayesTree-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/inference/BayesTree-inl.h b/gtsam/inference/BayesTree-inl.h index faacea8a7..788770812 100644 --- a/gtsam/inference/BayesTree-inl.h +++ b/gtsam/inference/BayesTree-inl.h @@ -583,7 +583,7 @@ namespace gtsam { } // Find the path intersection B = this->root(); - FastList::const_iterator p1 = path1.begin(), p2 = path2.begin(); + typename FastList::const_iterator p1 = path1.begin(), p2 = path2.begin(); while(p1 != path1.end() && p2 != path2.end() && *p1 == *p2) { B = *p1; ++p1;