Skip to content

Guard storage access in CP_flow_balance#104

Merged
blnicho merged 1 commit into
IDAES:mainfrom
ylu283:pr/fix-storage-guard
Jun 8, 2026
Merged

Guard storage access in CP_flow_balance#104
blnicho merged 1 commit into
IDAES:mainfrom
ylu283:pr/fix-storage-guard

Conversation

@ylu283

@ylu283 ylu283 commented May 28, 2026

Copy link
Copy Markdown
Contributor

CP_flow_balance unconditionally iterates m.storage, but m.storage is only created when storage data exists. The non-CP flow_balance path already guards with m.config["storage"]; this makes the CP path consistent.

CP_flow_balance unconditionally iterates m.storage, but m.storage is
only created when storage data exists. The non-CP flow_balance path
already guards with m.config["storage"]; this makes CP consistent.
@jkskolf jkskolf added the Priority:High High Priority Issue or PR label Jun 8, 2026
@blnicho blnicho merged commit 365f914 into IDAES:main Jun 8, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority:High High Priority Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants