Skip to content

Commit 1f94697

Browse files
fix multi-field
1 parent dd9da76 commit 1f94697

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/functions.cu

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ __global__ void phase_rotate(cufftComplex *data, long M, long N, float xphs, flo
10551055
v = dv * (i-N);
10561056
}
10571057

1058-
phase = -2.0*(u+v);
1058+
phase = 2.0*(u+v);
10591059
#if (__CUDA_ARCH__ >= 300 )
10601060
sincospif(phase, &s, &c);
10611061
#else
@@ -1149,6 +1149,8 @@ __global__ void residual(cufftComplex *Vr, cufftComplex *Vm, cufftComplex *Vo, l
11491149
}
11501150

11511151

1152+
1153+
11521154
__global__ void residual_XCORR(cufftComplex *Vr, cufftComplex *Vm, cufftComplex *Vo, float alpha, long numVisibilities)
11531155
{
11541156
int i = threadIdx.x + blockDim.x * blockIdx.x;

0 commit comments

Comments
 (0)