Skip to content

Conversation

@prehner
Copy link
Contributor

@prehner prehner commented Oct 25, 2024

💥 The Molarweight trait makes a comeback 💥

Analogous to EntropyScaling, implementing molar weights for models in Rust becomes optional again. Specific properties can thus only be evaluated if the trait is implemented.

IIRC, the last time around this lead to crashes due to panics within getters? The StateVec getters that require a molar weight and the to_dict methods will now check first if the given variant provides a molar weight.

Base automatically changed from quantity_migration to main October 28, 2024 13:46
@prehner prehner force-pushed the molarweight branch 2 times, most recently from c327609 to 88a5eb9 Compare October 28, 2024 13:51
@prehner prehner merged commit 950a96e into main Oct 30, 2024
@prehner prehner deleted the molarweight branch October 30, 2024 08:50
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.

3 participants