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: