Skip to content

fftw2d fails on 1-column matrix #14

@balwierz

Description

@balwierz

I am getting an error while running fftw2d on a 1-column matrix:

fftw2d(matrix(c(1, 2, 3, 9, 8, 5, 1, 2, 9, 8, 7, 2), ncol=1))

Error in res[idxRowAppend, nC:2] : subscript out of bounds

There is no problem with a "transposed" (horizontal) call:
fftw2d(matrix(c(1, 2, 3, 9, 8, 5, 1, 2, 9, 8, 7, 2), nrow=1))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions