mypy does not understand the setter

This commit is contained in:
Martin Diehl 2022-05-22 10:08:32 +02:00
parent 8039e56882
commit 4b4b455b85
1 changed files with 1 additions and 1 deletions

View File

@ -1686,7 +1686,7 @@ class Result:
else:
raise ValueError(f'invalid mode "{mode}"')
v.comments = util.execution_stamp('Result','export_VTK')
v.comments = [util.execution_stamp('Result','export_VTK')]
N_digits = int(np.floor(np.log10(max(1,self.incs[-1]))))+1