Skip to content

Commit a0de509

Browse files
authored
Merge pull request #325 from jgray-19/sbend_fringe
Fix rotation in bend_wedge to avoid discontinuities
2 parents 2a6098e + 3ca1999 commit a0de509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/madl_dynmap.mad

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ end
18191819

18201820
function bend_wedge (e, m, lw_) -- [WEDGE] see also [sr]bend_thick -- checked
18211821
if e == 0 then return end
1822-
if abs(m.knl[1]) < minstr then return yrotation(-e,m,lw_) end
1822+
if abs(m.knl[1]) < minstr then return yrotation(-e,m,1) end
18231823
m.atdebug(e, m, lw_, 'bend_wedge:0')
18241824

18251825
local el, eld, tdir, knl, beam in m

0 commit comments

Comments
 (0)