Skip to content

Fix rotation in bend_wedge to avoid discontinuities #325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/madl_dynmap.mad
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ end

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

local el, eld, tdir, knl, beam in m
Expand Down