Please sign in to comment.
Added declaration of constants object to rmgpy.quantity Cython header.
This is needed for efficient access to the attributes of the constants object. Some trickery is needed to also expose constants as a regular Python module-level variable, as this seems to be a neglected feature of Cython.
- Loading branch information...
Showing with 5 additions and 0 deletions.