Bugfix: float129 -> complex128

This commit is contained in:
Anne de Jong 2024-06-24 09:44:19 +02:00
parent c8a4ded750
commit 1cc6b9106d

View File

@ -10,7 +10,7 @@ from .lasp_cpp import LASP_DOUBLE_PRECISION
if LASP_DOUBLE_PRECISION: if LASP_DOUBLE_PRECISION:
LASP_NUMPY_FLOAT_TYPE = np.float64 LASP_NUMPY_FLOAT_TYPE = np.float64
LASP_NUMPY_COMPLEX_TYPE = np.float128 LASP_NUMPY_COMPLEX_TYPE = np.complex128
else: else:
LASP_NUMPY_FLOAT_TYPE = np.float32 LASP_NUMPY_FLOAT_TYPE = np.float32
LASP_NUMPY_COMPLEX_TYPE = np.float64 LASP_NUMPY_COMPLEX_TYPE = np.float64