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

Bug in objects.py #203

Open
kyleaoman opened this issue Sep 23, 2024 · 0 comments
Open

Bug in objects.py #203

kyleaoman opened this issue Sep 23, 2024 · 0 comments
Assignees

Comments

@kyleaoman
Copy link
Member

In function _return_without_cosmo_factor this:

        elif (cf is not None) and (cf2 is not None) and (cf == cf2):
            # both have cosmo_factor, and they match:
            pass

should be:

        elif (cf is not None) and (cf2 is not None) and ((cf == cf2) or (cf is None and cf2 is None)):
            # both have cosmo_factor, and they match, or neither has cosmo_factor:
            pass
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