--- trunk/OOPSE/libmdtools/SimState.cpp 2003/08/20 19:42:31 707 +++ trunk/OOPSE/libmdtools/SimState.cpp 2004/05/12 16:38:45 1167 @@ -1,7 +1,7 @@ #include -#include -#include +#include +#include #include "simError.h" #include "SimState.hpp" @@ -107,6 +107,7 @@ void SimState::destroyArrays( void ){ mu = NULL; ul = NULL; + arraysAllocated = false; nElements = 0; } @@ -118,7 +119,7 @@ void SimState::getAtomPointers( int index, double** the_trq, double** the_Amat, double** the_mu, - double** the_ul ){ + double** the_ul){ int index3, index9; if( arraysAllocated ){