diff --git a/tracy/tracy/src/t2lat.cc b/tracy/tracy/src/t2lat.cc index 6f4a027991e8d8356227ff854e8ab880ae9d4e74..6d60758905f75803d75f80bc34a3c7332c52992c 100644 --- a/tracy/tracy/src/t2lat.cc +++ b/tracy/tracy/src/t2lat.cc @@ -53,7 +53,7 @@ typedef enum // ring sym added // ff1sym ff2sym for quadrupole entrance and exit fringe field // ffscalingsym scaling factor for entrance and exit fringe field. /*J.Zhang -// tilt added for comptaibility with Tracy II +// tilt added for compatibility with Tracy II /* p2c: t2lat.pas, line 52: * Note: Line breaker spent 0.0 seconds, 5000 tries on line 603 [251] */ @@ -3190,9 +3190,9 @@ static bool Lat_DealElement(FILE **fi_, FILE **fo_, long *cc_, long *ll_, <name> : insertion, N = <number of thin lenses>, scaling1 or 2 = scaling factor: should be 1. Default value - file1 = <filename>, in lowercases (first order defaults) - file2 = <filename>, in lowercases (second order defauts) - method = <method>, ( 2 or 4. The method to divide Q into slices.) + file1 = <filename>, in lowercase (first order defaults) + file2 = <filename>, in lowercase (second order defaults) + method = <method>, ( 1 or 3. The method to divide Q into slices.) ( The detail of <method> will be discussed later.) Example @@ -3322,12 +3322,12 @@ static bool Lat_DealElement(FILE **fi_, FILE **fo_, long *cc_, long *ll_, // check whether no Radia filename read: something is wrong if (!firstflag && !secondflag) { - printf("Erreur no Insertion filename found as" + printf("Error no Insertion filename found as" " an input in lattice file\n"); exit_(-1); } - if (k2 == 3) { // cubic interpolation + if (k2 == 3 | k2 == 2) { // cubic interpolation WITH5->linear = false; } else { // linear interpolation WITH5->linear = true;