Skip to content

Commit ff5eb29

Browse files
committed
remove unneeded asserts
1 parent 38668e4 commit ff5eb29

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/fdmdv.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1887,11 +1887,6 @@ void fdmdv_8_to_48(float out48k[], float in8k[], int n)
18871887
{
18881888
int i,j,k,l;
18891889

1890-
/* make sure n is an integer multiple of the oversampling rate, ow
1891-
this function breaks */
1892-
1893-
assert((n % FDMDV_OS_48) == 0);
1894-
18951890
for(i=0; i<n; i++) {
18961891
for(j=0; j<FDMDV_OS_48; j++) {
18971892
out48k[i*FDMDV_OS_48+j] = 0.0;
@@ -1913,11 +1908,6 @@ void fdmdv_8_to_48_short(short out48k[], short in8k[], int n)
19131908
int i,j,k,l;
19141909
float acc;
19151910

1916-
/* make sure n is an integer multiple of the oversampling rate, ow
1917-
this function breaks */
1918-
1919-
assert((n % FDMDV_OS_48) == 0);
1920-
19211911
for(i=0; i<n; i++) {
19221912
for(j=0; j<FDMDV_OS_48; j++) {
19231913
acc = 0.0;

0 commit comments

Comments
 (0)