Skip to content

Commit

Permalink
remove unused conditional branch lapjv.h
Browse files Browse the repository at this point in the history
Signed-off-by: M. Fatih Cırıt <[email protected]>
  • Loading branch information
xmfcx committed Dec 3, 2024
1 parent d81cf37 commit b4d6f33
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions perception/autoware_bytetrack/lib/include/lapjv.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,42 +64,10 @@
b = _temp_index; \
}

#if 0
#include <assert.h>

#include <cstdio>
#define ASSERT(cond) assert(cond)
#define PRINTF(fmt, ...) printf(fmt, ##__VA_ARGS__)
#define PRINT_COST_ARRAY(a, n) \
while (1) { \
printf(#a " = ["); \
if ((n) > 0) { \
printf("%f", (a)[0]); \
for (uint_t j = 1; j < n; j++) { \
printf(", %f", (a)[j]); \
} \
} \
printf("]\n"); \
break; \
}
#define PRINT_INDEX_ARRAY(a, n) \
while (1) { \
printf(#a " = ["); \
if ((n) > 0) { \
printf("%d", (a)[0]); \
for (uint_t j = 1; j < n; j++) { \
printf(", %d", (a)[j]); \
} \
} \
printf("]\n"); \
break; \
}
#else
#define ASSERT(cond)
#define PRINTF(fmt, ...)
#define PRINT_COST_ARRAY(a, n)
#define PRINT_INDEX_ARRAY(a, n)
#endif

typedef signed int int_t;
typedef unsigned int uint_t;
Expand Down

0 comments on commit b4d6f33

Please sign in to comment.