From bf0bba1dd2afa073e7f73c3fb7a1327c09427be8 Mon Sep 17 00:00:00 2001 From: John Date: Thu, 19 Mar 2020 23:44:05 -0500 Subject: [PATCH] bug fix for python3.6 --- setup.py | 2 +- stoked/solver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index e0fc22b..53a8b7d 100644 --- a/setup.py +++ b/setup.py @@ -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 = [ diff --git a/stoked/solver.py b/stoked/solver.py index 2e2e9d4..72e9667 100644 --- a/stoked/solver.py +++ b/stoked/solver.py @@ -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):