Skip to content
Snippets Groups Projects
Commit aa1c42ef authored by Rafael Ravedutti's avatar Rafael Ravedutti
Browse files

Fix redundant code

parent 241d33ec
No related branches found
No related tags found
No related merge requests found
......@@ -262,11 +262,7 @@ class ParticleInteraction(Lowerable):
prop_reductions[prop] = prop_reductions[prop] + reduction
for prop, reduction in prop_reductions.items():
if self.sim._compute_half:
Assign(self.sim, prop[i], prop[i] + reduction)
else:
Assign(self.sim, prop[i], prop[i] + reduction)
Assign(self.sim, prop[i], prop[i] + reduction)
else:
raise Exception("Interactions among more than two particles are currently not supported.")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment