Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rodschulz committed Jul 22, 2015
1 parent 8ceb3eb commit 0791721
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
build/*
input/*
meshes/*
output/*
.settings/*
.cproject
.project

times
config_*
run.sh
4 changes: 2 additions & 2 deletions src/Front.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ void Front::joinAndFix(const std::pair<int, TrianglePtr> &_data, Pivoter &_pivot
if (debug >= MEDIUM)
std::cout << "\tEdge removed: " << **pos << "\n";

front.erase(pos);
removeEdgePoints(*pos);
front.erase(pos);

// Move iterator to the first added new edge
advance(pos, -2);
Expand Down Expand Up @@ -125,8 +125,8 @@ void Front::joinAndFix(const std::pair<int, TrianglePtr> &_data, Pivoter &_pivot
if (debug >= MEDIUM)
std::cout << "\tEdge removed: " << **pos << "\n";

front.erase(pos);
removeEdgePoints(*pos);
front.erase(pos);

// Move iterator to the first added new edge
if (added < 0)
Expand Down

0 comments on commit 0791721

Please sign in to comment.