Skip to content

Commit a0d5b5d

Browse files
committed
removed redundant definitions for complex numbers
1 parent a9f2a57 commit a0d5b5d

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

cupy/cuda/cupy_cufft.h

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,8 @@ extern "C" {
1414

1515
typedef float cufftReal;
1616
typedef double cufftDoubleReal;
17-
18-
struct cufftComplex{
19-
float x, y;
20-
};
21-
22-
struct cufftDoubleComplex{
23-
double x, y;
24-
};
17+
typedef cuComplex cufftComplex;
18+
typedef cuDoubleComplex cufftDoubleComplex;
2519

2620
typedef enum {
2721
CUFFT_SUCCESS = 0,

0 commit comments

Comments
 (0)