Description
It would be nice to have:
- A check of whether molar_mass is set to 0 (which would return an error message) since molar_mass is often used as a denominator in unit conversions
- Return an errmsg from the getter if the molar_mass = kphys_unassigned (probably no error code, but just would be nice to have a clean way for the host to know if molar mass has been assigned)
Solution
- Add check to instantiate() that returns an errmsg (and probably and errcode) if molar mass is being set to 0
- Modify ccp_molar_mass to return a message when
Alternatives (optional)
If applicable, add a description of any alternative solutions or features you've considered.
Related to (optional)
Directly reference any issues or PRs in this or other repositories that this is related to, and describe how they are related.
Description
It would be nice to have:
Solution
Alternatives (optional)
If applicable, add a description of any alternative solutions or features you've considered.
Related to (optional)
Directly reference any issues or PRs in this or other repositories that this is related to, and describe how they are related.