Skip to content

'.subs' Error #486

@strukturen

Description

@strukturen

If I call the following in Python instead of throwing an error it crashes Python. Can I somehow solve this so that it can throw an exception?

Example:

import symengine as spe
expr = spe.sympify('sin(log(t))')
t = spe.symbols('t')
expr.subs({t:0})

However, if I just execute spe.sin(spe.log(0)) it throws me an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions