Skip to content

Commit 53722a8

Browse files
committed
Switch to C++ complex proper
1 parent f27295d commit 53722a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fidimag/common/dipolar/dipolar.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include<math.h>
2-
#include<complex.h>
2+
#include<complex>
33
#include<fftw3.h>
44
//#include<omp.h>
55

@@ -38,7 +38,7 @@ typedef struct {
3838
double *tensor_xz;
3939
double *tensor_yz;
4040

41-
//TODO: (1)using double, (2)using small size
41+
//TODO: (1)using double, (2)using small size
4242
std::complex<double> *Nxx; //Nxx, Nxy .. are pure real now.
4343
std::complex<double> *Nyy;
4444
std::complex<double> *Nzz;

0 commit comments

Comments
 (0)