Skip to content

irfft returns float64 for an input with dtype of float32 #176

Closed
@vtavana

Description

@vtavana

irfft returns float64 for an input with dtype of float32

import mkl_fft, numpy
a = numpy.ones(10, dtype="f4")

mkl_fft.irfft(a).dtype
# dtype('float64')

numpy.__version__
# '2.2.3'
numpy.fft.irfft(a).dtype
# dtype('float32')

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions