Skip to content

FFTW planned 2D real ldiv! unexpectedly overwrites input #158

@marius311

Description

@marius311

The following seems unexpected:

using FFTW, LinearAlgebra
y = rand(4,4)
p = plan_rfft(y)
x = p * y
x_orig = copy(x)
ldiv!(y,p,x)
x == x_orig # unexpectedly returns false

This only happens with FFTW and not MKL, only with 2D and real FFTs, and only with ldiv! not mul!.

Metadata

Metadata

Assignees

No one assigned

    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