Skip to content

modeexpansion array must be initialized with zeros #296

@FinnNeufeld

Description

@FinnNeufeld

the mode expansion array is not but has to be initialized with zeros, probably just use np.zeros

https://github.com/skuschel/postpic/blob/0a21d72c3bb3e558f01a86c22199a2b310b2c84d/postpic/datareader/openPMDh5.py#L278C14-L278C22

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working (as expected)confirmedconfirmed bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions