From 8502c3fffb3244c880cb2c48762b8163ba0fd07e Mon Sep 17 00:00:00 2001 From: Umar Arshad Date: Thu, 13 Aug 2020 13:47:00 -0400 Subject: [PATCH] Remove assert that check that signal/filter types have to be the same --- src/api/c/fftconvolve.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/api/c/fftconvolve.cpp b/src/api/c/fftconvolve.cpp index e0aabda55e..bd10287cb4 100644 --- a/src/api/c/fftconvolve.cpp +++ b/src/api/c/fftconvolve.cpp @@ -162,14 +162,12 @@ af_err fft_convolve(af_array *out, const af_array signal, const af_array filter, const ArrayInfo &fInfo = getInfo(filter); af_dtype signalType = sInfo.getType(); - af_dtype filterType = fInfo.getType(); const dim4 &sdims = sInfo.dims(); const dim4 &fdims = fInfo.dims(); AF_BATCH_KIND convBT = identifyBatchKind(sdims, fdims, baseDim); - ARG_ASSERT(1, (signalType == filterType)); ARG_ASSERT(1, (convBT != AF_BATCH_UNSUPPORTED)); af_array output;