Skip to content

Commit

Permalink
Merge pull request #402 from sanak/master_issue336
Browse files Browse the repository at this point in the history
Fixed #336 by initializing GraphDefinition class member variables
  • Loading branch information
cvvergara committed Aug 29, 2015
2 parents 374e13f + 8ddc530 commit 4ccd8c7
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 @@ -2,8 +2,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();
}

GraphDefinition::~GraphDefinition(void)
Expand Down

0 comments on commit 4ccd8c7

Please sign in to comment.