--- trunk/OOPSE/staticProps/staticProps.cpp 2004/02/09 19:37:45 1042 +++ trunk/OOPSE/staticProps/staticProps.cpp 2004/02/09 20:38:38 1043 @@ -96,7 +96,7 @@ int main(int argC,char* argV[]){ // parse long word options if( !strcmp( argV[i], "--gofr" ) ){ - + i++; if( i>=argC ){ sprintf( painCave.errMsg, @@ -124,7 +124,7 @@ int main(int argC,char* argV[]){ havePairCorrs = true; } - if( !strcmp( argV[i], "--gofrTheta" ) ){ + else if( !strcmp( argV[i], "--gofrTheta" ) ){ i++; if( i>=argC ){ @@ -153,7 +153,7 @@ int main(int argC,char* argV[]){ havePairCorrs = true; } - if( !strcmp( argV[i], "--gofrOmega" ) ){ + else if( !strcmp( argV[i], "--gofrOmega" ) ){ i++; if( i>=argC ){ @@ -441,14 +441,15 @@ int main(int argC,char* argV[]){ nFrames ); fflush(stdout); - infoArray = new SimInfo[nFrames]; + infoArray = new SimInfo; printf("Parsing the bass file, and initializing the " "Simulation Frames..." ); fflush(stdout); startMe = new SimSetup(); - startMe->setSimInfo( infoArray, nFrames ); + startMe->setSimInfo( infoArray ); + startMe->suspendInit(); startMe->parseFile( inName ); startMe->createSim();