Skip to content

Commit f9f7116

Browse files
committed
Merge branch 'hotfix/deprecated_float64' into 'develop'
hotfix/grid_float64 See merge request e040/e0404/pyRadPlan!97
2 parents 2bdd8cd + 7271854 commit f9f7116

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyRadPlan/core/_grids.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ class Grid(PyRadPlanBaseModel):
3030

3131
resolution: dict[str, float]
3232
dimensions: tuple[int, int, int]
33-
origin: NDArray[Shape["3"], np.floating] = Field(
33+
origin: NDArray[Shape["3"], np.float64] = Field(
3434
default=np.array([0.0, 0.0, 0.0], dtype=np.float64), alias="cubeCoordOffset"
3535
)
36-
direction: NDArray[Shape["3,3"], np.floating] = Field(default=np.eye(3, dtype=np.float64))
36+
direction: NDArray[Shape["3, 3"], np.float64] = Field(default=np.eye(3, dtype=np.float64))
3737

3838
@computed_field(alias="numOfVoxels")
3939
@property

0 commit comments

Comments
 (0)