diff --git a/Contractor/ContractionCleanup.h b/Contractor/ContractionCleanup.h index 9961ba71c..d4158d97e 100644 --- a/Contractor/ContractionCleanup.h +++ b/Contractor/ContractionCleanup.h @@ -125,6 +125,8 @@ public: newEdge.data.forward = _graph[edge].data.forward; newEdge.data.backward = _graph[edge].data.backward; newEdge.data.type = _graph[edge].data.type; + newEdge.data.forwardTurn = _graph[edge].data.forwardTurn; + newEdge.data.backwardTurn = _graph[edge].data.backwardTurn; edges.push_back( newEdge ); } #ifdef _GLIBCXX_PARALLEL diff --git a/createHierarchy.cpp b/createHierarchy.cpp index b2ab4c1d5..567d55470 100644 --- a/createHierarchy.cpp +++ b/createHierarchy.cpp @@ -181,7 +181,6 @@ int main (int argc, char *argv[]) edgeOutFile.write((char *)&(distance), sizeof(int)); edgeOutFile.write((char *)&(forwardTurn), sizeof(bool)); edgeOutFile.write((char *)&(backwardTurn), sizeof(bool)); - assert(forwardTurn && backwardTurn); edgeOutFile.write((char *)&(shortcut), sizeof(bool)); edgeOutFile.write((char *)&(forward), sizeof(bool)); edgeOutFile.write((char *)&(backward), sizeof(bool));