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

gh-447: make sure dz gives the same results as nbins #448

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

paddyroddy
Copy link
Member

Closes #447. Discovered in #436.

Values are generated within the half-open interval [start, stop)

Due to the use of np.arange one needs to add the step to zmax in the function call.

Closes #447. Discovered in #436.

> Values are generated within the half-open interval [start, stop)

Due to the use of `np.arange` one needs to add the step to `zmax` in the
function call.
@paddyroddy paddyroddy added the bug Something isn't working label Nov 21, 2024
@paddyroddy paddyroddy self-assigned this Nov 21, 2024
glass/observations.py Outdated Show resolved Hide resolved
@paddyroddy paddyroddy merged commit 6fbeb97 into main Nov 21, 2024
16 checks passed
@paddyroddy paddyroddy deleted the paddy/issue-447 branch November 21, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fixed_zbins gives different results based on dz or nbins input
2 participants