From 90b4041d328482923a545730702619d30b72165a Mon Sep 17 00:00:00 2001
From: Anh <zenpoems@gmail.com>
Date: Tue, 9 Jul 2019 07:12:51 -0700
Subject: [PATCH] Print attributes before assert

---
 src/zipr.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/zipr.cpp b/src/zipr.cpp
index 143c701c5..39e39e427 100644
--- a/src/zipr.cpp
+++ b/src/zipr.cpp
@@ -818,12 +818,12 @@ void ZiprImpl_t::PlaceDollops()
 		count_pins++;
 	}
 
-	assert(getenv("SELF_VALIDATE")==nullptr || count_pins > 3 ) ;
-	assert(getenv("SELF_VALIDATE")==nullptr || placement_queue.size() > 15 ) ;
-
 	cout<<"# ATTRIBUTE Zipr::pins_detected="<<dec<<count_pins<<endl;
 	cout<<"# ATTRIBUTE Zipr::placement_queue_size="<<dec<<placement_queue.size()<<endl;
 
+	assert(getenv("SELF_VALIDATE")==nullptr || count_pins > 3 ) ;
+	assert(getenv("SELF_VALIDATE")==nullptr || placement_queue.size() > 15 ) ;
+
 	/* 
          * used to check if a reference dollop needs to be added to the placement queue
         */
-- 
GitLab