-
Notifications
You must be signed in to change notification settings - Fork 67
Improve subs and msubs #100
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise that looks good. Thanks!
@@ -365,6 +365,21 @@ class DictBasic(_DictBasic, collections.MutableMapping): | |||
def __repr__(self): | |||
return self.__str__() | |||
|
|||
def get_dict(*args): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add a docstring explaining what this function is doing?
d[K.thisptr] = V.thisptr | ||
return c2py(symengine.ssubs(self.thisptr, d)) | ||
#TODO: deprecate this | ||
def subs_dict(Basic self not None, *args): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just add the deprecation warnings in this PR, that way we don't need to revisit in the future.
|
||
#TODO: deprecate this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same here.
Thank you, I think it looks good now. +1 to merge. |
No description provided.