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.
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:
However, if I just execute
spe.sin(spe.log(0))it throws me an error.