SymPy undefined behavior

mendeli
Fri, 28 Oct 2022 08:28:44 +0000
General Usage

Being relatively new to Julia, I wrote something like the code below and stumbled on undefined behavior. Since the code below does not use the correct expr.subs() syntax, shouldn’t it issue an error message or warning?

This

using SymPy
@syms x y
f = x + y^2
f(1,2)

can result in both 3 and 5.

4 posts - 3 participants