Skip to content

Commit 5b6b9be

Browse files
authored
Merge pull request #313 from jgray-19/Multipole_Fixes
Multipole Fix
2 parents a24d7c6 + 4dabc23 commit 5b6b9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/madl_etrck.mad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ end
297297
local function track_multipole (elm, m)
298298
get_mult(elm, m) ; adj_mult(m)
299299

300-
if m.nmul == 0 then return track_marker(elm, m) end
300+
if m.nmul == 0 and abs(elm.ksi) < minstr then return track_marker(elm, m) end
301301

302302
local angle, ksi, lrad in elm
303303
local knl, ksl in m

0 commit comments

Comments
 (0)