diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-19 04:02:39 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-19 04:02:39 (GMT) |
commit | d656f556b85fb25903d5f18c6a9557d6ed0e6f7d (patch) | |
tree | dc28c5a2ee8fbad8fd1480a2f67a0e9fe5298f14 /src/surface.cc | |
parent | aa2c67d24925a8b9465d5a908662091b705cf7cc (diff) |
debugging failed test: throwntogethertest polygons
Diffstat (limited to 'src/surface.cc')
-rw-r--r-- | src/surface.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/surface.cc b/src/surface.cc index 2fa3717..eb6561e 100644 --- a/src/surface.cc +++ b/src/surface.cc @@ -42,6 +42,7 @@ #include <boost/algorithm/string.hpp> #include <boost/assign/std/vector.hpp> using namespace boost::assign; // bring 'operator+=()' into scope +#include <map> #include <boost/filesystem.hpp> namespace fs = boost::filesystem; @@ -110,7 +111,8 @@ PolySet *SurfaceNode::evaluate_polyset(class PolySetEvaluator *) const PolySet *p = new PolySet(); int lines = 0, columns = 0; - boost::unordered_map<std::pair<int,int>,double> data; + //boost::unordered_map<std::pair<int,int>,double> data; + std::map<std::pair<int,int>,double> data; double min_val = 0; typedef boost::tokenizer<boost::char_separator<char> > tokenizer; |