Skip to content

Fix battery segfault from dereferencing std::max_element on an empty array#1347

Merged
brtietz merged 1 commit into
NatLabRockies:patchfrom
Solesca-Energy:patch
Aug 11, 2025
Merged

Fix battery segfault from dereferencing std::max_element on an empty array#1347
brtietz merged 1 commit into
NatLabRockies:patchfrom
Solesca-Energy:patch

Conversation

@btdevine

Copy link
Copy Markdown
Contributor

Description

Fixes #1346

@brtietz brtietz self-requested a review August 11, 2025 17:13
@brtietz brtietz added this to the SAM 2025 Patch 2 milestone Aug 11, 2025
@coveralls

Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 16867777786

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 54.731%

Totals Coverage Status
Change from base Build 16548532552: 0.0%
Covered Lines: 64392
Relevant Lines: 117651

💛 - Coveralls

@brtietz brtietz merged commit 2f866ef into NatLabRockies:patch Aug 11, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Battery segfault

3 participants