Changeset - c8ca6f9c1b20
[Not reviewed]
0 1 1
Tom Bannink - 8 years ago 2017-03-13 13:01:35
tom.bannink@cwi.nl
Add makefile and remove forgotten debug line
2 files changed with 11 insertions and 1 deletions:
0 comments (0 inline, 0 general)
cpp/Makefile
Show inline comments
 
new file 100644
 

	
 
INCLUDES += -I.
 

	
 
CXXFLAGS += -std=c++14 -O3 -Wall -Wextra -Wfatal-errors -Wno-deprecated-declarations $(INCLUDES)
 

	
 
switchchain:
 

	
 
# target : dep1 dep2 dep3
 
# 	$@ = target
 
# 	$< = dep1
 
# 	$^ = dep1 dep2 dep3
cpp/graph.hpp
Show inline comments
 
@@ -151,7 +151,6 @@ class Graph {
 
        // B) e1.u - e2.v and e2.u - e1.v
 
        // Note that to do (B) instead of (A), simply swap e2.u <-> e2.v
 
        // Now we can just consider switch type (A)
 
        switchType = false;
 
        if (switchType) {
 
            std::swap(se2.e.u, se2.e.v);
 
            std::swap(se2.u2vindex, se2.v2uindex);
0 comments (0 inline, 0 general)