Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SymPy exports module Q #354

Closed
olof3 opened this issue May 31, 2020 · 2 comments
Closed

SymPy exports module Q #354

olof3 opened this issue May 31, 2020 · 2 comments

Comments

@olof3
Copy link

olof3 commented May 31, 2020

This is a bit annoying since Q is quite nice letter for various matrices and other objects.

julia> using SymPy
julia> Q = [2 1; 1 3]
ERROR: cannot assign a value to variable SymPy.Q from module Main

Would it be reasonable to just avoid exporting Q? With or without deprecating it first.

I couldn't immediately find any other instances that are as problematic as this one, but I guess it could be worthwhile to have a second look.

@jverzani
Copy link
Collaborator

I would think we could deprecate Q from being exported. N is a different matter, as it has a pretty common usage. I would think offering a unicode alternative and SymPy.Q. What is somewhat cumbersome, is sympy.Q doesn't offer an alternative. Do you want to put together a PR? If not, I'll get to it at some point in the near term.

@olof3
Copy link
Author

olof3 commented Jun 1, 2020

I think you have a better vision of how to fix this. No hurry on my part.

jverzani added a commit to jverzani/SymPy.jl that referenced this issue Jun 1, 2020
jverzani added a commit that referenced this issue Jun 1, 2020
* close issue #354; close issue  #355
@jverzani jverzani closed this as completed Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants