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

Fix force assignment when using reduction

parent 49668121
No related branches found
No related tags found
No related merge requests found
...@@ -266,7 +266,7 @@ class ParticleInteraction(Lowerable): ...@@ -266,7 +266,7 @@ class ParticleInteraction(Lowerable):
Assign(self.sim, prop[i], prop[i] + reduction) Assign(self.sim, prop[i], prop[i] + reduction)
else: else:
Assign(self.sim, prop[i], reduction) Assign(self.sim, prop[i], prop[i] + reduction)
else: else:
raise Exception("Interactions among more than two particles are currently not supported.") 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