From 998dd1c99e62692fa64ad8f38ea64d82fe873659 Mon Sep 17 00:00:00 2001 From: Gabriel Kosmacher <73120774+kennykos@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:38:07 +0000 Subject: [PATCH] Fix complex128 C2R abstraction, Z2D in lue of Z2R --- nvmath/distributed/fft/fft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvmath/distributed/fft/fft.py b/nvmath/distributed/fft/fft.py index 44bddb3..3ea0ced 100644 --- a/nvmath/distributed/fft/fft.py +++ b/nvmath/distributed/fft/fft.py @@ -187,7 +187,7 @@ def _get_fft_concrete_type(dtype, fft_abstract_type): if dtype == "complex64": return FFTType["C2R"] elif dtype == "complex128": - return FFTType["Z2R"] + return FFTType["Z2D"] else: raise ValueError(f"Incompatible dtype '{dtype}' for complex-to-real transform.") else: