From 7566ef93ac17ce458fa6f108bb76efdfae0f645f Mon Sep 17 00:00:00 2001 From: Philipp Holl Date: Wed, 3 Apr 2024 20:57:50 +0200 Subject: [PATCH] [geom] Fix Heightmap.__repr__() --- phi/geom/_heightmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phi/geom/_heightmap.py b/phi/geom/_heightmap.py index 97fbd8a94..9bac3f8a9 100644 --- a/phi/geom/_heightmap.py +++ b/phi/geom/_heightmap.py @@ -166,7 +166,7 @@ def __hash__(self): return hash(self._bounds) def __repr__(self): - return f"Heightmap {self._resolution}, bounds={self._bounds}" + return f"Heightmap {self.resolution}, bounds={self._bounds}" def __variable_attrs__(self): return '_height', '_bounds', '_max_dist', '_fill_below', '_extrapolation', '_faces'