Skip to content

Commit

Permalink
Fix guide bug intoduced in 1.55-2.
Browse files Browse the repository at this point in the history
  • Loading branch information
johncbowman committed May 3, 2010
1 parent de1591f commit cc6fd22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flatguide.cc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ void flatguide::uncheckedAdd(path p, bool allowsolve)
{
Int n=p.length();
if(n < 0) return;
if(n == 0) {
addPoint(p,0);
return;
}
int nminus1=n-1;
if(!allowsolve && p.cyclic()) addPre(p,0);
for(Int i=0; i < nminus1;) {
Expand Down

0 comments on commit cc6fd22

Please sign in to comment.