Skip to content
Snippets Groups Projects
Commit 34c41c51 authored by John Romein's avatar John Romein
Browse files

Task #3696

Simplification.
parent 133b5593
No related branches found
No related tags found
No related merge requests found
......@@ -66,10 +66,10 @@ __kernel void applyDelaysAndCorrectBandPass(__global void *correctedDataPtr,
float2 myPhiBegin = (phiBegin + major * deltaPhi) * frequency + (*phaseOffsets)[station];
float2 myPhiDelta = 16 * deltaPhi * frequency;
#endif
float2 vX = (float2) { native_cos(myPhiBegin.x), native_sin(myPhiBegin.x) };
float2 vY = (float2) { native_cos(myPhiBegin.y), native_sin(myPhiBegin.y) };
float2 dvX = (float2) { native_cos(myPhiDelta.x), native_sin(myPhiDelta.x) };
float2 dvY = (float2) { native_cos(myPhiDelta.y), native_sin(myPhiDelta.y) };
float2 vX = cexp(myPhiBegin.x);
float2 vY = cexp(myPhiBegin.y);
float2 dvX = cexp(myPhiDelta.x);
float2 dvY = cexp(myPhiDelta.y);
#endif
#if defined BANDPASS_CORRECTION
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment