Skip to content
Snippets Groups Projects
Commit e4beba3e authored by Vadim Gubaidulin's avatar Vadim Gubaidulin
Browse files

Corrected a typo

parent eaa7c57e
No related branches found
No related tags found
1 merge request!352D Particle-in-cell solver
......@@ -706,7 +706,7 @@ class BeamIonElement(Element):
sb_stdx, sb_stdy, sb_mx, sb_my)
elif field_model == "PIC":
if isinstance(second_beam, IonParticles):
if isinstance(first_beam, IonParticles):
fb_mx, fb_my, fb_stdx, fb_stdy = first_beam.mean_std_xy
else:
fb_stdx = first_beam["x"].std()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment