Skip to content

Conversation

@adcroft
Copy link
Member

@adcroft adcroft commented Dec 22, 2025

There are two references to members of diag%axes that assume diag%axes are associated, but in the specific case I was debugging this was not the case. These references were trapped when debugging but they don't seem to be hit except under special circumstances.

@adcroft adcroft force-pushed the fix-ref-unassoc-ptr branch from da2300b to c79dd09 Compare December 22, 2025 18:32
Copy link
Member

@Hallberg-NOAA Hallberg-NOAA left a comment

Choose a reason for hiding this comment

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

I agree that these changes are correct and should prevent some uncommon problems. Although I am approving these changes, I would ask that parentheses be added in the future to avoid having to remember (or look up) the Fortran operator precedence rules to verify the correctness of expressions..

These two references to members of a pointer don't seem to be hit except
under special circumstances but nevertheless I ran in to them when debugging
an unrelated problem. There are two references to members of `diag%axes` that
assume `diag%axes` are associated, but in the specific case I was debugging
this was not the case.
@codecov
Copy link

codecov bot commented Dec 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 37.57%. Comparing base (d4a5fdd) to head (0d11a0d).
⚠️ Report is 1 commits behind head on dev/gfdl.

Additional details and impacted files
@@            Coverage Diff            @@
##           dev/gfdl    #1005   +/-   ##
=========================================
  Coverage     37.57%   37.57%           
=========================================
  Files           307      307           
  Lines         93894    93894           
  Branches      18036    18036           
=========================================
  Hits          35280    35280           
  Misses        51976    51976           
  Partials       6638     6638           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hallberg-NOAA
Copy link
Member

This PR has passed pipeline testing at https://gitlab.gfdl.noaa.gov/ogrp/mom6ci/MOM6/-/pipelines/29654.

@Hallberg-NOAA Hallberg-NOAA merged commit bf1716f into NOAA-GFDL:dev/gfdl Dec 27, 2025
54 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.

2 participants