adaptions for debian jessie
Stefan Schuermans

Stefan Schuermans commited on 2016-04-03 13:08:57
Showing 2 changed files, with 2 additions and 1 deletions.

... ...
@@ -10,7 +10,7 @@ CFLAGS=-Wall -Wextra -Werror -O2 -g -frounding-math
10 10
 DEFINES=
11 11
 INCLUDES=
12 12
 LDFLAGS=
13
-LIBS=-lCGAL -lCGAL_Core -ldime -lboost_thread -lm
13
+LIBS=-lCGAL -lCGAL_Core -ldime -lboost_thread -lgmp -lmpfr -lm
14 14
 
15 15
 CPP=g++
16 16
 CPPARGS=$(CFLAGS) $(DEFINES) $(INCLUDES)
... ...
@@ -97,6 +97,7 @@ void Layer::improvePaths(double eqDist)
97 97
     other = path;
98 98
     ++other;
99 99
     best = mPaths.end();
100
+    smallest = 0;
100 101
     while (other != mPaths.end()) {
101 102
       // calculate (squared) distance from path.end to other.begin
102 103
       //   path and other are never empty here
103 104