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:
28
28
scale : Annotated [np .ndarray , numpy_array_short_validator ]
29
29
30
30
_is_default_transform : bool = False
31
- _cached_pivot : Optional [np .ndarray ] = None
31
+ _cached_pivot : Annotated [np .ndarray , numpy_array_short_validator ] | None = None
32
32
33
33
def __repr__ (self ):
34
34
return pprint .pformat (self .__dict__ )
@@ -76,8 +76,8 @@ def cached_pivot(self):
76
76
return self ._cached_pivot
77
77
78
78
@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 )
81
81
82
82
@classmethod
83
83
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