From bb5485927ed74814d4f6c1151e757e7d32a1564f Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 3 Jun 2020 15:18:46 +0200 Subject: [PATCH] names like 2020.2 cannot be converted to int --- python/damask/solver/_marc.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python/damask/solver/_marc.py b/python/damask/solver/_marc.py index ce32b17e5..0484ba7e6 100644 --- a/python/damask/solver/_marc.py +++ b/python/damask/solver/_marc.py @@ -19,11 +19,7 @@ class Marc: """ self.solver = 'Marc' - try: - self.version = int(version) - except TypeError: - self.version = -1 - + self.version = version @property def library_path(self):