summaryrefslogtreecommitdiffstats
path: root/src/opt/dar/darLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt/dar/darLib.c')
-rw-r--r--src/opt/dar/darLib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opt/dar/darLib.c b/src/opt/dar/darLib.c
index 339cd316..1a41d902 100644
--- a/src/opt/dar/darLib.c
+++ b/src/opt/dar/darLib.c
@@ -593,6 +593,8 @@ Dar_Lib_t * Dar_LibRead()
void Dar_LibStart()
{
// abctime clk = Abc_Clock();
+ if ( s_DarLib != NULL )
+ return;
assert( s_DarLib == NULL );
s_DarLib = Dar_LibRead();
// printf( "The 4-input library started with %d nodes and %d subgraphs. ", s_DarLib->nObjs - 4, s_DarLib->nSubgrTotal );