File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class Transform:
2828 scale : Annotated [np .ndarray , numpy_array_short_validator ]
2929
3030 _is_default_transform : bool = False
31- _cached_pivot : Optional [np .ndarray ] = None
31+ _cached_pivot : Annotated [np .ndarray , numpy_array_short_validator ] | None = None
3232
3333 def __repr__ (self ):
3434 return pprint .pformat (self .__dict__ )
@@ -76,8 +76,8 @@ def cached_pivot(self):
7676 return self ._cached_pivot
7777
7878 @cached_pivot .setter
79- def cached_pivot (self , pivot : np . ndarray ):
80- self ._cached_pivot = pivot
79+ def cached_pivot (self , pivot : list ):
80+ self ._cached_pivot = np . array ( pivot )
8181
8282 @classmethod
8383 def from_input_points (cls , surface_points : 'gempy.data.SurfacePointsTable' , orientations : 'gempy.data.OrientationsTable' ) -> 'Transform' :
You can’t perform that action at this time.
0 commit comments