Skip to content

Commit 043ecb2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c736012 commit 043ecb2

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

tsp/inc/trackMinimization.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,14 @@
1010
#ifdef __cplusplus
1111
extern "C"
1212
#endif
13-
int
14-
TrackMinimization_2D(int* xIn, int* yIn, int ncount, int* mytour);
13+
int TrackMinimization_2D(int* xIn, int* yIn, int ncount, int* mytour);
1514

1615
#ifdef __cplusplus
1716
extern "C"
1817
#endif
19-
int
20-
TrackMinimization_segment(int ncount, int* elen, int* mytour);
18+
int TrackMinimization_segment(int ncount, int* elen, int* mytour);
2119

2220
#ifdef __cplusplus
2321
extern "C"
2422
#endif
25-
int
26-
TrackMinimization_3D(int* xIn, int* yIn, int* zIn, int ncount, int* mytour);
23+
int TrackMinimization_3D(int* xIn, int* yIn, int* zIn, int ncount, int* mytour);

tsp/inc/tsp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ typedef struct CCtsp_branchobj {
258258
} CCtsp_branchobj;
259259

260260
typedef struct CCtsp_cutnode {
261-
#define CCtsp_CUT_INNODELIST(t) ((t)&4)
261+
#define CCtsp_CUT_INNODELIST(t) ((t) & 4)
262262
#define CCtsp_CUT_ROOT 0
263263
#define CCtsp_CUT_PNODE 1
264264
#define CCtsp_CUT_QNODE 2

0 commit comments

Comments
 (0)