Skip to content

Numpy Import order #1

@ivan-krukov

Description

@ivan-krukov

The python extension will produce a segfault if it is imported after numpy.

import numpy as np
import wfes
mu = 1e-8

wf = wfes.solve(50, -0.1, mu, mu, 0.0)
# SEGFAULT OF DOOM

However, the reverse import order is okay:

import numpy as np
import wfes
# ... works

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions