--- trunk/OOPSE/libmdtools/SimInfo.cpp 2003/03/27 17:32:03 420 +++ trunk/OOPSE/libmdtools/SimInfo.cpp 2003/03/27 20:36:16 424 @@ -38,6 +38,7 @@ void SimInfo::refreshSim(){ simtype fInfo; int isError; + int* excl; fInfo.box[0] = box_x; fInfo.box[1] = box_y; @@ -59,6 +60,7 @@ void SimInfo::refreshSim(){ fInfo.SIM_uses_GB = useGB; fInfo.SIM_uses_EAM = useEAM; + excl = Exclude::getArray(); isError = 0; @@ -71,7 +73,8 @@ void SimInfo::refreshSim(){ globalExcludes; isError; - setFsimulation( &fInfo, &n_atoms, identArray, &n_exclude, excludes, &nGlobalExcludes, globalExcludes, &isError ); + setFsimulation( &fInfo, &n_atoms, identArray, &n_exclude, excl, + &nGlobalExcludes, globalExcludes, &isError ); if( isError ){