diff --git a/python/damask/_geom.py b/python/damask/_geom.py index c8963b616..571ae12eb 100644 --- a/python/damask/_geom.py +++ b/python/damask/_geom.py @@ -189,10 +189,7 @@ class Geom: physical size of the microstructure in meter. """ - if size is None: - grid = np.asarray(self.microstructure.shape) - self.size = grid/np.max(grid) - else: + if size is not None: if len(size) != 3 or any(np.array(size) <= 0): raise ValueError(f'Invalid size {size}') else: