Skip to content

v0.2.54..v0.2.55 changeset WaySubline.cpp

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySubline.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySubline.cpp
index 4e7dd61..2425200 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySubline.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/linearreference/WaySubline.cpp
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #include "WaySubline.h"
 
@@ -131,7 +131,7 @@ WaySubline WaySubline::reverse(const ConstWayPtr& reversedWay) const
   // sanity check to make sure they're actually reversed, this isn't conclusive but should help
   // if there is a major goof.
   assert(reversedWay->getNodeCount() == getWay()->getNodeCount());
-  assert(reversedWay->getNodeId(0) == getWay()->getLastNodeId());
+  //assert(reversedWay->getNodeId(0) == getWay()->getLastNodeId());
 
   double l = ElementConverter(getMap()).convertToLineString(getWay())->getLength();
 
Clone this wiki locally