aboutsummaryrefslogtreecommitdiff
path: root/src/cs16-bfly4/gen/scalar-x2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cs16-bfly4/gen/scalar-x2.c')
-rw-r--r--src/cs16-bfly4/gen/scalar-x2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cs16-bfly4/gen/scalar-x2.c b/src/cs16-bfly4/gen/scalar-x2.c
index aba94b9f3..99bd8653e 100644
--- a/src/cs16-bfly4/gen/scalar-x2.c
+++ b/src/cs16-bfly4/gen/scalar-x2.c
@@ -14,6 +14,7 @@
#include <xnnpack/math.h>
#include <xnnpack/fft.h>
+
void xnn_cs16_bfly4_ukernel__scalar_x2(
size_t samples,
int16_t* data,
@@ -29,9 +30,9 @@ void xnn_cs16_bfly4_ukernel__scalar_x2(
int16_t* out3 = data + samples * 6;
assert(samples != 0);
+ assert(data != NULL);
assert(stride != 0);
assert(twiddle != NULL);
- assert(data != NULL);
for (; samples >= 2; samples -= 2) {
int32_t vout0r0 = (int32_t) out0[0];