diff --git a/python/damask/geom.py b/python/damask/geom.py index 4428a2f6b..13ff5232f 100644 --- a/python/damask/geom.py +++ b/python/damask/geom.py @@ -40,7 +40,7 @@ class Geom(): raise ValueError('Either set size explicitly or rescale automatically') self.set_microstructure(microstructure) - self.set_size(self.get_grid()/grid_old if rescale else size) + self.set_size(self.get_grid()/grid_old*self.size if rescale else size) self.set_origin(origin) message = ['grid a b c: {}'.format(' x '.join(map(str,grid_old)))]