Skip to content

Commit a5bf84a

Browse files
committed
cleanup: removed obsolete constants
1 parent 674a9b4 commit a5bf84a

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/defs.h

-27
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ class idx3;
1111
class idx4;
1212

1313
// misc
14-
#define FAIL 0
15-
#define PASS 1
16-
1714
#define FALSE 0
1815
#define TRUE 1
1916

@@ -97,35 +94,11 @@ class idx4;
9794
#define TRUTH 1
9895
#define CALLSETS 2
9996

100-
#define QUERY1_TRUTH1 0 // four possible alignments of truth and query haps
101-
#define QUERY1_TRUTH2 1
102-
#define QUERY2_TRUTH1 2
103-
#define QUERY2_TRUTH2 3
104-
105-
#define PEN_SUB 0 // penalties order in boolean array *_penalties_set
106-
#define PEN_OPEN 1
107-
#define PEN_EXTEND 2
108-
10997
#define PTR_NONE 0 // backtracking pointer flags
11098
#define PTR_INS 1
11199
#define PTR_DEL 2
112100
#define PTR_MAT 4
113101
#define PTR_SUB 8
114-
#define PTR_SWP_MAT 16
115-
#define PTR_LPATH 32
116-
#define PATH 32
117-
#define PTR_RPATH 64
118-
#define MAIN_PATH 96
119-
#define PTR_SYNC 128
120-
121-
// 2 x N pointer array stores REF <-> QUERY/TRUTH
122-
#define PTRS 0 // dimension for pointer position
123-
#define FLAGS 1 // dimension for flags
124-
#define PTR_DIMS 2
125-
#define PTR_VARIANT 1
126-
#define PTR_VAR_BEG 2
127-
#define PTR_VAR_END 4
128-
#define PTR_INS_LOC 8
129102

130103
#define MAT_SUB 0 // three matrices for Smith-Waterman
131104
#define MAT_INS 1

0 commit comments

Comments
 (0)