Skip to content

Commit

Permalink
fixed #336 by initializing GraphDefinition class member variables
Browse files Browse the repository at this point in the history
  • Loading branch information
geosanak committed Aug 25, 2015
1 parent dd10659 commit 848c7b8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/trsp/src/GraphDefinition.cpp
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@
// -------------------------------------------------------------------------
GraphDefinition::GraphDefinition(void)
{
m_lStartEdgeId = -1;
m_lEndEdgeId = 0;
m_dStartpart = 0.0;
m_dEndPart = 0.0;
m_dCost = NULL;
m_bIsturnRestrictOn = false;
m_bIsGraphConstructed = false;
parent = NULL;
init();
}

// -------------------------------------------------------------------------
Expand Down

0 comments on commit 848c7b8

Please sign in to comment.