Skip to content

Commit 161203e

Browse files
committed
mypy correction
1 parent 4ab4e62 commit 161203e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/example_fgen_basic/get_square_root.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def get_square_root(inv: float) -> float:
5656
if result.data_v is None:
5757
raise AssertionError
5858

59-
res = result.data_v
59+
res: float = float(result.data_v)
6060

6161
# TODO: think
6262
# I like the clarity of finalising result_instance_index here

0 commit comments

Comments
 (0)