Skip to content

Commit 889c2cf

Browse files
committed
Turn NautyDense into a 'global function'
... to fix warnings when loading NautyTracesInterface and digraphs together.
1 parent f29b56c commit 889c2cf

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

gap/NautyGraph.gd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,3 +402,5 @@ DeclareGlobalFunction( "CREATE_NAUTY_GRAPH_OBJECT" );
402402
DeclareGlobalFunction( "CREATE_NAUTY_EDGE_COLORED_GRAPH" );
403403

404404

405+
##
406+
DeclareGlobalFunction( "NautyDense" );

gap/NautyGraph.gi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ end );
436436

437437

438438
#! TODO: document this
439-
BindGlobal( "NautyDense",
439+
InstallGlobalFunction( "NautyDense",
440440
function( source_list, range_list, n, is_directed, color_data )
441441
local graph;
442442
graph := NAUTY_GRAPH( source_list, range_list, n, is_directed );

0 commit comments

Comments
 (0)