--- trunk/OOPSE/staticProps/GofRtheta.cpp 2003/10/21 19:33:19 811 +++ trunk/OOPSE/staticProps/GofRtheta.cpp 2003/12/16 20:49:11 879 @@ -12,18 +12,24 @@ GofRtheta::GofRtheta( char* key1, char* key2, int theN GofRtheta::GofRtheta( char* key1, char* key2, int theNatoms, int theNbins ): PairCorrType( key1, key2, theNatoms, theNbins ) { - int i; + int i, j; strcpy( corrType, "GofRtheta" ); - currHist = new int[nBins]; - currGofRtheta = new double[nBins]; - avgGofRtheta = new double[nBins]; - + currCosHist = new int*[nBins]; + currGofRtheta = new double*[nBins]; + avgGofRtheta = new double*[nBins]; + for(i=0;i