Content-Length: 255633 | pFad | http://github.com/postgrespro/postgres_cluster/commit/48f2c0dd5905e9c7e5375c5e30a6bdce7ec6b569

ED Fix a big in building symetric matrix for Bron–Kerbosch algorithm · postgrespro/postgres_cluster@48f2c0d · GitHub
Skip to content

Commit 48f2c0d

Browse files
committed
Fix a big in building symetric matrix for Bron–Kerbosch algorithm
1 parent e195a0c commit 48f2c0d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contrib/mmts/multimaster.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,6 +1246,7 @@ MtmBuildConnectivityMatrix(nodemask_t* matrix, bool nowait)
12461246
for (i = 0; i < n; i++) {
12471247
for (j = 0; j < i; j++) {
12481248
matrix[i] |= ((matrix[j] >> i) & 1) << j;
1249+
matrix[j] |= ((matrix[i] >> j) & 1) << i;
12491250
}
12501251
}
12511252
return true;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/48f2c0dd5905e9c7e5375c5e30a6bdce7ec6b569

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy