Skip to content

Segmentation fault when forgetting to invoke ModeSolver.init_params #167

@florinhem

Description

@florinhem

Creating a ModeSolver object without initializing the simulation using ModeSolver.init_params() (or running the simulation), leads to a segmentation fault (core dumped) when the function ModeSolver.get_epsilon_point is called. I understand that the parameters need to be initialized, but I think the function get_epsilon_point should raise an error instead of producing the segmentation fault.

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