From 190a612086b0c946f02d4f7df8e1f3edbdfb347a Mon Sep 17 00:00:00 2001 From: John Rogers Date: Mon, 7 Feb 2011 17:12:53 +0000 Subject: [PATCH] Temporarily overriding the FastMap use in LieValues so that LieValues can be serialized properly --- gtsam/nonlinear/LieValues.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtsam/nonlinear/LieValues.h b/gtsam/nonlinear/LieValues.h index 55fd60daf..7c317a641 100644 --- a/gtsam/nonlinear/LieValues.h +++ b/gtsam/nonlinear/LieValues.h @@ -57,7 +57,8 @@ namespace gtsam { */ typedef J Key; typedef typename J::Value Value; - typedef FastMap KeyValueMap; + typedef std::map, boost::fast_pool_allocator > > KeyValueMap; + // typedef FastMap KeyValueMap; typedef typename KeyValueMap::value_type KeyValuePair; typedef typename KeyValueMap::iterator iterator; typedef typename KeyValueMap::const_iterator const_iterator;