Skip to content
Snippets Groups Projects
Commit 6648296b authored by Alexis GAMELIN's avatar Alexis GAMELIN
Browse files

[Fix] Resonator longitudinal wake function

parent 085e7f1e
No related branches found
No related tags found
1 merge request!13v0.7.0
......@@ -98,7 +98,7 @@ class Resonator(WakeField):
(2 * self.Q_p)))
if np.any(np.abs(t) < atol):
wl[np.abs(t) < atol] = wl[np.abs(t) < atol] / 2
elif np.any(t < -atol):
if np.any(t < -atol):
wl[t < -atol] = 0
return wl
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment