Skip to content
Snippets Groups Projects
Commit df430afd authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Remove useless tests

parent f0ac2ebc
No related branches found
No related tags found
No related merge requests found
......@@ -304,7 +304,7 @@ namespace hpp {
} else projPath = path;
PathValidationReportPtr_t report;
if (pathValidation->validate (projPath, false, validPath, report)) {
if (!_1to2 || !_2to1) nbConnection++;
nbConnection++;
if (!_1to2) roadmap ()->addEdge (*itn1, *itn2, projPath);
if (!_2to1) {
core::interval_t timeRange = projPath->timeRange ();
......@@ -352,7 +352,7 @@ namespace hpp {
} else projPath = path;
PathValidationReportPtr_t report;
if (pathValidation->validate (projPath, false, validPath, report)) {
if (!_1to2 || !_2to1) nbConnection++;
nbConnection++;
if (!_1to2) roadmap ()->addEdge (*itn1, *itn2, projPath);
if (!_2to1) {
core::interval_t timeRange = projPath->timeRange ();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment