Skip to content

What should a failure return? Error or nothing? #33

@Datseris

Description

@Datseris

Given a periodic orbit finding algorithm, and a dynamical system and an initial guess, some algorithms can fail to find a periodic orbit.

At the interface level, what should be the return value for this? Should the function periodic_orbit return an error with some information? Or should it return nothing, as it does right now? The nothing makes the function more flexible to use in performance critical code as it avoids try-catch blocks. But it is not informative for the user of what went wrong...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions