{"action":"closed","issue":{"url":"https://api.github.com/repos/gnuradio/volk/issues/49","labels_url":"https://api.github.com/repos/gnuradio/volk/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/gnuradio/volk/issues/49/comments","events_url":"https://api.github.com/repos/gnuradio/volk/issues/49/events","html_url":"https://github.com/gnuradio/volk/issues/49","id":108493185,"number":49,"title":"volk_32fc_s32fc_x2_rotator_32fc doesn't renormalize for less than N * ROTATOR_RELOAD points","user":{"login":"smunaut","id":129013,"avatar_url":"https://avatars.githubusercontent.com/u/129013?v=3","gravatar_id":"","url":"https://api.github.com/users/smunaut","html_url":"https://github.com/smunaut","followers_url":"https://api.github.com/users/smunaut/followers","following_url":"https://api.github.com/users/smunaut/following{/other_user}","gists_url":"https://api.github.com/users/smunaut/gists{/gist_id}","starred_url":"https://api.github.com/users/smunaut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smunaut/subscriptions","organizations_url":"https://api.github.com/users/smunaut/orgs","repos_url":"https://api.github.com/users/smunaut/repos","events_url":"https://api.github.com/users/smunaut/events{/privacy}","received_events_url":"https://api.github.com/users/smunaut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-26T20:15:59Z","updated_at":"2015-10-06T19:06:22Z","closed_at":"2015-10-06T19:06:22Z","body":"If you have less than {2,4} * ROTATOR_RELOAD points in a call to the kernel (depending on sse4_1 or avx implementations), then there is never any re-normalization done.\r\n\r\nSince the callers expect to be able to just call the kernel without handling re-normalization, this can yield  a constantly decreasing amplitude on the output ... \r\n\r\nThis happens for example in the FFT freq xlating filter because the block size ends up being the FFT size and is a function of the # taps and can easily be small enough to trigger the issue."}}