[MOAB-dev] r5675 - in MOAB/trunk: src/moab/point_locater tools
rhl6856 at mcs.anl.gov
rhl6856 at mcs.anl.gov
Fri Aug 3 14:45:00 CDT 2012
Author: rhl6856
Date: 2012-08-03 14:45:00 -0500 (Fri, 03 Aug 2012)
New Revision: 5675
Modified:
MOAB/trunk/src/moab/point_locater/bvh_tree.hpp
MOAB/trunk/tools/point_search.cpp
Log:
some typename warnings on older gcc
Modified: MOAB/trunk/src/moab/point_locater/bvh_tree.hpp
===================================================================
--- MOAB/trunk/src/moab/point_locater/bvh_tree.hpp 2012-08-03 19:18:36 UTC (rev 5674)
+++ MOAB/trunk/src/moab/point_locater/bvh_tree.hpp 2012-08-03 19:45:00 UTC (rev 5675)
@@ -81,7 +81,7 @@
class _Split_data {
public:
- typedef typename ct::Box< double> Box;
+ typedef ct::Box< double> Box;
_Split_data(): dim( 0), nl( 0), nr( 0), split( 0.0),
Lmax( 0.0), Rmin( 0.0),bounding_box(),
left_box(), right_box(){}
Modified: MOAB/trunk/tools/point_search.cpp
===================================================================
--- MOAB/trunk/tools/point_search.cpp 2012-08-03 19:18:36 UTC (rev 5674)
+++ MOAB/trunk/tools/point_search.cpp 2012-08-03 19:45:00 UTC (rev 5675)
@@ -78,7 +78,7 @@
}; // Parametrizer
// default types.. whatevs.
-typedef typename moab::common_tree::Box< double> Bounding_box;
+typedef moab::common_tree::Box< double> Bounding_box;
typedef std::vector< Bounding_box> Boxes;
typedef moab::EntityHandle Element;
typedef _Parametrizer< Element, std::vector< double> > Parametrizer;
@@ -186,12 +186,11 @@
std::size_t unfound_points = std::count( located_elements.begin(),
located_elements.end(), 0);
typedef ct::_Element_data< const Bounding_box, double > Element_data;
- typedef typename std::tr1::unordered_map< Element,
- Element_data> Entity_map;
+ typedef std::tr1::unordered_map< Element,
+ Element_data> Entity_map;
if( unfound_points > 0){
std::cout << "unlocated points: " << unfound_points
<< "/" << located_elements.size() << std::endl;
- const std::size_t brute_search =
locator.bruteforce_locate_points( target_vertices,
located_elements);
}else{
More information about the moab-dev
mailing list