From 2998bed05e84541809a34de696eeb1a9267ffe4d Mon Sep 17 00:00:00 2001 From: hackbard Date: Mon, 17 Aug 2009 16:02:57 +0200 Subject: [PATCH] no verbose printfs for total v attrr changes --- mdrun.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mdrun.c b/mdrun.c index 31e5f0a..f5acaa1 100644 --- a/mdrun.c +++ b/mdrun.c @@ -1108,7 +1108,9 @@ int chaatr(t_moldyn *moldyn,t_mdrun *mdrun) { if(cap->z1r.z) continue; } - printf(" changing attributes of atom %d (0x%x)\n",i,cap->attr); + if(!(cap->type&CHAATTR_TOTALV)) + printf(" changing attributes of atom %d (0x%x)\n", + i,cap->attr); atom->attr=cap->attr; } -- 2.39.2