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

Refactor gravity initialization and update post-init conversion to use default tensor type #119

Closed
wants to merge 1 commit into from

Conversation

GiulioRomualdi
Copy link
Member

@GiulioRomualdi GiulioRomualdi commented Jan 8, 2025

This pull request includes changes to the initialization of gravity parameters in two computation files and updates the default tensor type conversion in the TorchLike class. The most important changes are:

Initialization of gravity parameters:

Default tensor type conversion:

  • src/adam/pytorch/torch_like.py: Updated the __post_init__ method in the TorchLike class to convert arrays to the default tensor type used in the library instead of always converting to double precision.

📚 Documentation preview 📚: https://adam-docs--119.org.readthedocs.build/en/119/

@GiulioRomualdi
Copy link
Member Author

I will close this PR for the time being. We can open it as soon as we start again with this activity

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