Yeah I guess that's my fault: https://github.com/scipy/scipy/commit/5567c9c97cd0714b618ea3c5efe84b3f3dc9c61b    It previously existed to strip away negligible imaginary parts from ifftn, but irfftn output should always be real already, so this line isn't needed at all.