Skip to content

Global formatting of np.set_printoptions in mochi_class_cosmology.py #568

Description

@LisaGoh

📝 Issue Summary

Currently, in mochi_class_cosmology.py, the global setting for np.set_printoptions() is set by hand in line 14:
np.set_printoptions(threshold=sys.maxsize). This might lead to issues downstream that affect the output formatting of other cloelib functions.

This is required for the functions in mochi_class_cosmology to output the values of the MG parameters up to the required precision. There is no quick solution as of now.

✅ Expected Outcome

🔄 Steps to Reproduce (if applicable)

📌 Additional Notes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions