Skip to content

Grid2 mod Initialization Fix#1742

Merged
vithikashah001 merged 2 commits into
NOAA-GFDL:mainfrom
uramirez8707:grid2_fix
Aug 21, 2025
Merged

Grid2 mod Initialization Fix#1742
vithikashah001 merged 2 commits into
NOAA-GFDL:mainfrom
uramirez8707:grid2_fix

Conversation

@uramirez8707
Copy link
Copy Markdown
Contributor

Description
Adds checks to ensure that grid2 is property initialized before attempting to use any of its functions to prevent undefined behavior.

Fixes #1741

How Has This Been Tested?
CI

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules
  • New check tests, if applicable, are included
  • make distcheck passes

@vithikashah001 vithikashah001 merged commit 51b3199 into NOAA-GFDL:main Aug 21, 2025
28 of 29 checks passed
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.

grid2 initilization leads to undefined behavior

3 participants