--- trunk/OOPSE/libmdtools/SimInfo.cpp 2003/08/07 21:47:18 670 +++ trunk/OOPSE/libmdtools/SimInfo.cpp 2003/08/11 18:29:46 674 @@ -30,6 +30,7 @@ SimInfo::SimInfo(){ n_dipoles = 0; ndf = 0; ndfRaw = 0; + nZconstraints = 0; the_integrator = NULL; setTemp = 0; thermalTime = 0.0; @@ -362,7 +363,7 @@ int SimInfo::getNDF(){ ndf = ndf_local; #endif - ndf = ndf - 3; + ndf = ndf - 3 - nZconstraints; return ndf; }