You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's worth considering removing most of the default arguments for low-level functions. Having defaults increases the chances to miss a usage when changing defaults or adding / removing arguments.
We should keep reasonable defaults for high-level (user-facing) functions.
The text was updated successfully, but these errors were encountered:
Introduce typing hints throughout the code
Remove default values in the non-user facing functions (closes#116)
Fix a bug using the default kB for equipartition in all cases
* Introduce type hints and remove low-level default arguments for kinetic energy module
* Equipartition was using default kB in all cases. This was fixed, now adapt regression test values.
* Introduce type hints and remove low-level default arguments for ensemble module
* Introduce type hints and remove low-level default arguments for integrator module
* Add remaining type hints
It's worth considering removing most of the default arguments for low-level functions. Having defaults increases the chances to miss a usage when changing defaults or adding / removing arguments.
We should keep reasonable defaults for high-level (user-facing) functions.
The text was updated successfully, but these errors were encountered: