Skip to content

Commit

Permalink
bug fix for python3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
johnaparker committed Mar 20, 2020
1 parent 82cec21 commit bf0bba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def read(fname):
AUTHOR = 'John Parker'
KEYWORDS = 'stokesian dynamics brownian'
# REQUIRES_PYTHON = '>=3.6.0'
VERSION = '0.2'
VERSION = '0.2.1'
LICENSE = 'MIT'

REQUIRED = [
Expand Down
2 changes: 1 addition & 1 deletion stoked/solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def _combine_pairwise_interactions(self):
if len(pairwise_forces) > 1:
for pf in pairwise_forces:
self.interactions.remove(pf)
self.interactions.append(sum(pairwise_forces[1:], start=pairwise_forces[0]))
self.interactions.append(sum(pairwise_forces[1:], pairwise_forces[0]))

def brownian_dynamics(*, temperature, dt, position, drag, orientation=None,
force=None, torque=None, interactions=None, constraint=None):
Expand Down

0 comments on commit bf0bba1

Please sign in to comment.