Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Jun 20, 2024
1 parent 01b5e46 commit 42f9b41
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/cliques.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ extern Obj ClosureGroup;
////////////////////////////////////////////////////////////////////////////////

struct clique_data {
void* user_param; // A USER_PARAM for the hook
Obj gap_func; // Variable to hold a GAP level hook function
UInt (*hook)(void*, // HOOK function applied to every homo found
void* user_param; // A USER_PARAM for the hook
Obj gap_func; // Variable to hold a GAP level hook function
UInt (*hook)(void*, // HOOK function applied to every homo found
const BitArray*,
const uint16_t,
Obj);
Expand Down
4 changes: 2 additions & 2 deletions src/conditions.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Conditions* new_conditions(uint16_t const nr1, uint16_t const nr2) {
conditions->sizes = safe_malloc(nr1 * nr1 * sizeof(uint16_t));
conditions->size = (uint64_t) nr1 * nr1;

conditions->nr1 = nr1;
conditions->nr2 = nr2;
conditions->nr1 = nr1;
conditions->nr2 = nr2;

for (uint64_t i = 0; i < conditions->size; i++) {
conditions->bit_array[i] = new_bit_array(nr2);
Expand Down
2 changes: 1 addition & 1 deletion src/digraphs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ static Obj FuncIS_MULTI_DIGRAPH(Obj self, Obj digraph) {
* - If true, for each vertex i, dist[i][i] is initially set to 0
* - If false, this step is skipped
*/
static Obj FLOYD_WARSHALL(Obj digraph,
static Obj FLOYD_WARSHALL(Obj digraph,
void (*func)(Int** dist, Int i, Int j, Int k, Int n),
Int val1,
Int val2,
Expand Down
2 changes: 1 addition & 1 deletion src/gap-includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeclaration-after-statement"
#elif defined (__GNUC__)
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeclaration-after-statement"
#pragma GCC diagnostic ignored "-Wpedantic"
Expand Down
2 changes: 1 addition & 1 deletion src/homos.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ extern Obj LargestMovedPointPerms;

static Obj GAP_FUNC; // Variable to hold a GAP level hook function

static Obj (*HOOK)(void*, // HOOK function applied to every homo found
static Obj (*HOOK)(void*, // HOOK function applied to every homo found
const uint16_t,
const uint16_t*);
static void* USER_PARAM; // a USER_PARAM for the hook
Expand Down

0 comments on commit 42f9b41

Please sign in to comment.