From 12938d347b4ac74a5781804de07925e77121cd97 Mon Sep 17 00:00:00 2001 From: Alex_Hubert Date: Fri, 19 Nov 2021 15:55:15 +0100 Subject: [PATCH] minor modification + system clas update comshift --- lib/objects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/objects.py b/lib/objects.py index 3fc48f6..ece7f39 100755 --- a/lib/objects.py +++ b/lib/objects.py @@ -32,9 +32,9 @@ class System(Body): def __init__(self, bodylist, main = False, blackstyle=True): self.blackstyle = blackstyle #for dark mode in plot + self.bodylist = np.array(bodylist) if main == True : self.COMShift() - self.bodylist = np.array(bodylist) self.time = 0 #lifetime of system self.m = self.M self.q = self.COM