Skip to content

Commit

Permalink
Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
James Mitchell committed Sep 27, 2017
1 parent 431047c commit 09ce25a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/bipart.cc
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ Obj BIPART_LEFT_PROJ(Obj self, Obj x) {
(*blocks)[i + deg] = _BUFFER_size_t[xx->at(i)];
} else {
_BUFFER_size_t[xx->at(i)] = next;
(*blocks)[i + deg] = next;
(*blocks)[i + deg] = next;
next++;
}
}
Expand Down Expand Up @@ -427,7 +427,7 @@ Obj BIPART_STAR(Obj self, Obj x) {
(*blocks)[i] = _BUFFER_size_t[xx->at(i + deg)];
} else {
_BUFFER_size_t[xx->at(i + deg)] = next;
(*blocks)[i] = next;
(*blocks)[i] = next;
next++;
}
}
Expand All @@ -439,7 +439,7 @@ Obj BIPART_STAR(Obj self, Obj x) {
(*blocks)[i + deg] = _BUFFER_size_t[xx->at(i)];
} else {
_BUFFER_size_t[xx->at(i)] = next;
(*blocks)[i + deg] = next;
(*blocks)[i + deg] = next;
next++;
}
}
Expand Down Expand Up @@ -505,8 +505,8 @@ Obj BIPART_LAMBDA_CONJ(Obj self, Obj x, Obj y) {
if (!seen[xx->at(i)]) {
seen[xx->at(i)] = true;
if (xx->at(i) < nr_left_blocks) { // connected block
ptrp[next] = lookup[xx->at(i)];
src[next] = true;
ptrp[next] = lookup[xx->at(i)];
src[next] = true;
dst[lookup[xx->at(i)]] = true;
}
next++;
Expand Down Expand Up @@ -597,7 +597,7 @@ Obj BIPART_STAB_ACTION(Obj self, Obj x, Obj p) {
for (size_t i = deg; i < 2 * deg; i++) {
if (tab1[xx->at(i)] == (size_t) -1) {
tab1[xx->at(i)] = q[next];
tab2[next] = xx->at(i);
tab2[next] = xx->at(i);
next++;
}
}
Expand Down

0 comments on commit 09ce25a

Please sign in to comment.