Skip to content

Comments

fix typo#1588

Closed
ujjawalTHEBATMAN wants to merge 1 commit intoIDAES:mainfrom
ujjawalTHEBATMAN:patch-1
Closed

fix typo#1588
ujjawalTHEBATMAN wants to merge 1 commit intoIDAES:mainfrom
ujjawalTHEBATMAN:patch-1

Conversation

@ujjawalTHEBATMAN
Copy link

@ujjawalTHEBATMAN ujjawalTHEBATMAN commented Mar 6, 2025

Fixes
Fixed a typo in the code:
Changed _enthalpy_flow_term → self.energy_density_term

Summary/Motivation
This PR corrects a minor typo in the variable name to maintain consistency and avoid potential errors in calculations.

Changes proposed in this PR:
Renamed _enthalpy_flow_term to self.energy_density_term
Ensured all related references are updated accordingly
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions:

My contributions are submitted under the license terms mentioned in the LICENSE.txt file at the top level of this directory.
I confirm that I have the right to make these contributions and grant the necessary license. If my employer holds any intellectual property rights related to these contributions, I confirm that I have obtained the required permission to make these changes on their behalf.

Comment on lines 2243 to +2244
if self.is_property_constructed("_energy_density_term"):
for k, v in self._enthalpy_flow_term.items():
for k, v in self.energy_density_term.items():
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's looking for _energy_density_term and not energy_density_term (without the underscore), it's probably better to iterate over that version. I don't know the difference off the top of my head.

@ujjawalTHEBATMAN ujjawalTHEBATMAN closed this by deleting the head repository Mar 12, 2025
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.

2 participants