more code formatting consistency changes for loops and conditionals

This commit is contained in:
Axel Kohlmeyer
2020-12-30 09:27:47 -05:00
parent 28de7e351a
commit 51a20175c9
171 changed files with 744 additions and 747 deletions

View File

@ -347,17 +347,17 @@ double ComputeOrientOrderAtom::memory_usage()
#define SWAP(a,b) do { \
tmp = a; a = b; b = tmp; \
} while(0)
} while (0)
#define ISWAP(a,b) do { \
itmp = a; a = b; b = itmp; \
} while(0)
} while (0)
#define SWAP3(a,b) do { \
tmp = a[0]; a[0] = b[0]; b[0] = tmp; \
tmp = a[1]; a[1] = b[1]; b[1] = tmp; \
tmp = a[2]; a[2] = b[2]; b[2] = tmp; \
} while(0)
} while (0)
/* ---------------------------------------------------------------------- */