From 3c783dff7900726ea90ae08c2c4d3212d0e86fb1 Mon Sep 17 00:00:00 2001 From: Kevin Lewis Date: Mon, 1 Jul 2024 11:40:00 -0400 Subject: [PATCH] minor change --- hexrd/sampleOrientations/conversions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hexrd/sampleOrientations/conversions.py b/hexrd/sampleOrientations/conversions.py index 59815e401..864ac4cd4 100644 --- a/hexrd/sampleOrientations/conversions.py +++ b/hexrd/sampleOrientations/conversions.py @@ -11,7 +11,7 @@ sc = constants.sc @numba_njit_if_available(cache=True, nogil=True) -def getPyramid(xyz : np.ndarray): +def getPyramid(xyz): try: x, y, z = xyz except (TypeError, ValueError) as exc: