b5791de36fb2 — Chris Cannam 24 days ago
Fix ipp divide_to
1 files changed, 2 insertions(+), 2 deletions(-)

M bqvec/VectorOpsComplex.h
M bqvec/VectorOpsComplex.h +2 -2
@@ 312,10 312,10 @@ inline void v_divide_to(bq_complex_t *co
 {
 #if defined HAVE_IPP
     if (sizeof(bq_complex_element_t) == sizeof(float)) {
-        ippsDiv_32fc((const Ipp32fc *)src1, (const Ipp32fc *)src2,
+        ippsDiv_32fc((const Ipp32fc *)src2, (const Ipp32fc *)src1,
                      (Ipp32fc *)dst, count);
     } else {
-        ippsDiv_64fc((const Ipp64fc *)src1, (const Ipp64fc *)src2,
+        ippsDiv_64fc((const Ipp64fc *)src2, (const Ipp64fc *)src1,
                      (Ipp64fc *)dst, count);
     }
 #elif defined HAVE_VDSP