Skip to content

Rename getkey to get and fix it #66

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

Merged
merged 2 commits into from
Feb 6, 2023
Merged

Rename getkey to get and fix it #66

merged 2 commits into from
Feb 6, 2023

Conversation

mfherbst
Copy link
Member

@mfherbst mfherbst commented Feb 6, 2023

In the current implementation the getkey function does something the get function ought to be doing (namely to return a property from an atom or system if it exists, otherwise return a default). This is contrast to the way getkey behaves in the rest of Julia. This PR fixes this and makes the get function behave properly.

@mfherbst mfherbst enabled auto-merge (squash) February 6, 2023 13:25
@mfherbst mfherbst merged commit 0927561 into master Feb 6, 2023
@mfherbst mfherbst deleted the fix_getindex branch February 6, 2023 13:28
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

Successfully merging this pull request may close these issues.

1 participant