From a2a98ad6309a912594ac75143f19944b2e723597 Mon Sep 17 00:00:00 2001 From: nadolski <nadolski@9a6e40ed-f3a0-4838-9b4a-bf418f78e88d> Date: Tue, 23 Nov 2010 13:15:36 +0000 Subject: [PATCH] typo --- tracy/tracy/src/t2lat.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tracy/tracy/src/t2lat.cc b/tracy/tracy/src/t2lat.cc index 6f4a027..6d60758 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; -- GitLab