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

Avoid updating frequency constants inplace. #99

Closed
wants to merge 3 commits into from

Conversation

groutr
Copy link
Contributor

@groutr groutr commented Jul 9, 2021

Use linearized_freqs to return an updated copy of frequencies.

Updating the frequency constants inplace seems to violate the idea of global constants. If such an inplace update is intentional, feel free to discard this PR.

Use linearize_freqs to return an updated copy of freqs.
@efiring
Copy link
Collaborator

efiring commented Apr 25, 2022

@ocefpaf Any idea why one 3.9 test is failing? The basic idea of this PR looks good.

@ocefpaf
Copy link
Collaborator

ocefpaf commented Apr 27, 2022

@ocefpaf Any idea why one 3.9 test is failing? The basic idea of this PR looks good.

We moved to a min numpy 1.19 in 0257afc but looks like my rebase here did not got that commit. I'm starting a fresh PR to include the latest changes. See #107

@ocefpaf ocefpaf closed this Apr 27, 2022
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.

None yet

3 participants