https://github.com/jttoivon/MODER
Revision c485231e5b468ae509306e1aaeebaa0f3004572d authored by Jarkko Toivonen on 31 March 2020, 18:10:18 UTC, committed by Jarkko Toivonen on 31 March 2020, 18:13:54 UTC
The list comprehensions of Python2 leak their index variables. Fixed the problem by using other index names in list comprehensions than 'i'.
1 parent a60d96f
Tip revision: c485231e5b468ae509306e1aaeebaa0f3004572d authored by Jarkko Toivonen on 31 March 2020, 18:10:18 UTC
Fixed indexing bug.
Fixed indexing bug.
Tip revision: c485231
Makefile
CXX = g++
CXXFLAGS = -O3 -Wall -DDCOVER=5 -DTIMING
PROGS = test-suffixsort
.SUFFIXES: .cpp .o
.cpp.o:
$(CXX) $(CXXFLAGS) $(INCL) -c $<
all: $(PROGS)
OBJS1 = test-suffixsort.o difference_cover.o
test-suffixsort: $(OBJS1)
$(CXX) $(CXXFLAGS) $(INCL) -o $@ $(OBJS1)
#--------------------------------------------------------------------------
# cleaning up
#--------------------------------------------------------------------------
clean:# depend
rm -f *.o core test-suffixsort
#--------------------------------------------------------------------------
# dependencies
#--------------------------------------------------------------------------
OBJS = $(OBJS1)
SOURCES = $(OBJS:.o=.cpp)
depend:
$(CXX) -MM $(SOURCES) > dependencies.mk
-include dependencies.mk
Computing file changes ...