Skip to content

Commit 5b2f7ac

Browse files
committed
Making bend radius a positive float
1 parent 2156b42 commit 5b2f7ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tidy3d/components/mode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class ModeSpec(Tidy3dBaseModel):
7777
"single precision, but more accurate under double precision.",
7878
)
7979

80-
bend_radius: float = pd.Field(
80+
bend_radius: pd.PositiveFloat = pd.Field(
8181
None,
8282
title="Bend radius",
8383
description="A curvature radius for simulation of waveguide bends. Can be negative, in "

0 commit comments

Comments
 (0)