Skip to content

[#14602] laplace_transform() does not validate negative s_value despite documented non-negative requirement #14606

Description

@jgohel9902

Feature description

Description

The laplace_transform() function documentation says that s_value must be non-negative, but the implementation currently does not validate this condition.

Because of this, users can pass a negative s_value, even though the function docstring states that only real-valued, non-negative Laplace parameters are supported.

File

maths/laplace_transformation.py

Relevant lines

Around line 17–18, the docstring says:

This implementation supports only real-valued, non-negative Laplace
parameters `s`.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions