diff --git a/tracy/tools/max4.cc b/tracy/tools/max4.cc index 436aee875f952be07455783817ec58b55a501c24..148e40ea849fbdca877b2a04011ee363b09b1f85 100644 --- a/tracy/tools/max4.cc +++ b/tracy/tools/max4.cc @@ -352,7 +352,7 @@ prtmfile("flat_file.dat"); // writes flat file /* very important file for debu double sum_delta[globval.Cell_nLoc+1][2]; double sum2_delta[globval.Cell_nLoc+1][2]; - GetEmittance(ElemIndex("cav"), true); + GetEmittance(globval.cav, true); // initialize momentum aperture arrays for(k = 0; k <= globval.Cell_nLoc; k++){