]> rtime.felk.cvut.cz Git - hubacji1/iamcar.git/commitdiff
Log path when optimized
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Sat, 25 May 2019 17:22:46 +0000 (19:22 +0200)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Sat, 25 May 2019 17:23:57 +0000 (19:23 +0200)
base/main.cc

index 729ec4a37dd7378702e34889e3cf3928ae1d3333..422e3308ad572ecb0b803a4927875fe50c67346e 100644 (file)
@@ -268,10 +268,7 @@ int main()
                 p.next();
                 p.tend();
                 if (p.opt_path()) {
-                        if (ps.cusp().size() > 0)
-                                p.tlog(p.findt(p.slot_cusp().back()));
-                        else
-                                p.tlog(p.findt());
+                        p.tlog(p.findt());
                 }
         }
 #elif defined USE_PTHREAD