@@ -574,19 +574,19 @@ def magnetic_amplitude_py(d, sigma, rho, irho,
574
574
if (np .fabs (rhoM [0 ]) <= MINIMAL_RHO_M and np .fabs (rhoM [layers - 1 ]) <= MINIMAL_RHO_M ):
575
575
# calculations for I+ and I- are the same in the fronting and backing.
576
576
for i in prange (points ):
577
- Y = np .empty (4 , dtype = ' complex128' )
577
+ Y = np .empty (4 , dtype = np . complex128 )
578
578
Cr4xa (layers , d , sigma , 1.0 , rho , irho , rhoM , u1 , u3 , KZ [i ], Y )
579
579
Ra [i ], Rb [i ], Rc [i ], Rd [i ] = Y [0 ], Y [1 ], Y [2 ], Y [3 ]
580
580
else :
581
581
# plus polarization
582
582
for i in prange (points ):
583
- Y = np .empty (4 , dtype = ' complex128' )
583
+ Y = np .empty (4 , dtype = np . complex128 )
584
584
Cr4xa (layers , d , sigma , 1.0 , rho , irho , rhoM , u1 , u3 , KZ [i ], Y )
585
585
Ra [i ], Rb [i ] = Y [0 ], Y [1 ]
586
586
587
587
# minus polarization
588
588
for i in prange (points ):
589
- Y = np .empty (4 , dtype = ' complex128' )
589
+ Y = np .empty (4 , dtype = np . complex128 )
590
590
Cr4xa (layers , d , sigma , - 1.0 , rho , irho , rhoM , u1 , u3 , KZ [i ], Y )
591
591
Rc [i ], Rd [i ] = Y [2 ], Y [3 ]
592
592
0 commit comments