From ab4babaa508d27b377e5b5f9f19b05fbef1da85e Mon Sep 17 00:00:00 2001 From: JonZhao <1044264932@qq.com> Date: Tue, 28 May 2019 21:06:28 +0800 Subject: use main thread to draw figure --- vrptw_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vrptw_base.py') diff --git a/vrptw_base.py b/vrptw_base.py index ba86128..645b114 100644 --- a/vrptw_base.py +++ b/vrptw_base.py @@ -164,8 +164,8 @@ class VrptwGraph: class PathMessage: def __init__(self, path, distance): - self.path = path - self.distance = distance + self.path = copy.deepcopy(path) + self.distance = copy.deepcopy(distance) def get_path_info(self): return self.path, self.distance -- cgit v1.2.3