The expression for the piecewise functions in tutorial 3 results in an error within sympy when the simulation is run: TypeError: unsupported operand type(s) for *: 'Mul' and 'StrictLessThan' . This is because the definition of piecewise functions within the input file are out of date. The most up-to-date version of sympy uses a function Piecewise() instead.
The expression for the piecewise functions in tutorial 3 results in an error within sympy when the simulation is run:
TypeError: unsupported operand type(s) for *: 'Mul' and 'StrictLessThan'. This is because the definition of piecewise functions within the input file are out of date. The most up-to-date version of sympy uses a functionPiecewise()instead.