What replaces `sympy"eye"` in version 1.3

The statement sympy"eye"(3) does not result in a warning in julia version 0.7.
In julia version 1.3 however, it elicicts UndefVarError: @sympy_str not defined

How would this function get invoked now?


Figured out one workaround:
Array{Sym}(I(3))
Is this what is intended now?

does this help?

1 Like

Yes it did! Thank you.

Just to record the solution, the function is now invoked with sympy.eye(3)

I had not thought of looking in /examples/ of the sources! And certainly not in my local installation of the packages :grinning: