From 9b3601717c8cae243667bd6e72adb08476779172 Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Sun, 13 Aug 2023 17:51:41 +0400 Subject: Add batched generation --- nauty/geng.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nauty/geng.c') diff --git a/nauty/geng.c b/nauty/geng.c index 7ea0085..3066c15 100644 --- a/nauty/geng.c +++ b/nauty/geng.c @@ -419,8 +419,6 @@ efficient to use the res/mod feature than to split by numbers of edges. #include "geng.h" #include -struct geng_iterator; - /* No need for TLS if not calling from a program. */ #ifndef GENG_MAIN #undef TLS_ATTR @@ -2279,6 +2277,7 @@ genextend(graph *g, int n, int *deg, int ne, boolean rigid, int xlb, int xub, st void GENG_MAIN(int argc, uint32_t argv1, uint32_t argv2, uint32_t iter1, uint32_t iter2) { + // TODO: make macro size_t *p_argv = (size_t *) (((size_t) argv1) | (((size_t) argv2) << 32)); char **argv = (char **) *p_argv; -- cgit v1.2.3