From ee9f66e2c4dba55e5ab4c7ce16223054b291d5fb Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Fri, 17 Feb 2012 13:19:09 -0800 Subject: Isomorphism checking code. --- src/misc/vec/vecVec.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/misc/vec') diff --git a/src/misc/vec/vecVec.h b/src/misc/vec/vecVec.h index f72bd93c..e0f18983 100644 --- a/src/misc/vec/vecVec.h +++ b/src/misc/vec/vecVec.h @@ -597,17 +597,19 @@ static inline void Vec_VecSort( Vec_Vec_t * p, int fReverse ) SeeAlso [] ***********************************************************************/ -static inline void Vec_VecPrintInt( Vec_Vec_t * p ) +static inline void Vec_VecPrintInt( Vec_Vec_t * p, int fSkipSingles ) { int i, k, Entry; - printf( "Integers by level" ); Vec_VecForEachEntryInt( p, Entry, i, k ) { + if ( Vec_VecLevelSize(p, i) == 1 ) + break; if ( k == 0 ) - printf( "\n%3d : ", i ); - printf( "%6d ", Entry ); + printf( " %4d : {", i ); + printf( " %d", Entry ); + if ( k == Vec_VecLevelSize(p, i) - 1 ) + printf( " }\n" ); } - printf( "\n" ); } -- cgit v1.2.3