Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Phase] Species molecular weight is set earlier
Since setting the species molecular weight can throw, all modifications to Phase member variables should be done after calling Species::setMolecularWeight() so that the Phase instance is not left in an inconsistent state.
- Loading branch information
1 parent
c0c4cad
commit 4973556
Showing
1 changed file
with
24 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters