From 4bfacfe7e09fa82a0bbf1d54238e34d6b0e3b732 Mon Sep 17 00:00:00 2001 From: Roman Cattaneo <1116746+romanc@users.noreply.github.com> Date: Fri, 9 May 2025 15:50:47 +0200 Subject: [PATCH] Remove `floating_point_precision()` The function was replaced with `get_precision()` in 2025.03.00. --- ndsl/dsl/typing.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ndsl/dsl/typing.py b/ndsl/dsl/typing.py index 1cae1063..6cd9efb0 100644 --- a/ndsl/dsl/typing.py +++ b/ndsl/dsl/typing.py @@ -22,11 +22,6 @@ DTypes = Union[bool, np.bool_, int, np.int32, np.int64, float, np.float32, np.float64] -# Depreciated version of get_precision, but retained for a PACE dependency -def floating_point_precision() -> int: - return int(os.getenv("PACE_FLOAT_PRECISION", "64")) - - def get_precision() -> int: return int(os.getenv("PACE_FLOAT_PRECISION", "64"))