Skip to content

Conversation

@CharlieWillard1
Copy link

There was small typo in the code to calculate the x component on the baroclinic vorticity term, just a small switch of z and y component on the density gradient used in the calculation.

PR Summary

There was small typo in the function to calculate the baroclinic_vorticity_x term. It used the z component of the density gradient rather than the y component of the density gradient. The change I made was simply deleting the z for a y.
Should be a 1 character change.

PR Checklist

  • [N/A] New features are documented, with docstrings and narrative docs
  • [] Adds a test for any bugs fixed. Adds tests for new features.

I did not do any testing, just a bug I noticed by eye.

Their was small typo in the code to calculate the x component on the baroclinic vorticity term, just a small switch of z and y component on the density gradient used in the calculation.
@welcome
Copy link

welcome bot commented Aug 25, 2025

Hi! Welcome, and thanks for opening this pull request. We have some guidelines for new pull requests, and soon you'll hear back about the results of our tests and continuous integration checks. Thank you for your contribution!

@cphyc cphyc added the bug label Aug 26, 2025
Copy link
Member

@cphyc cphyc left a comment

Choose a reason for hiding this comment

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

Good catch and thanks for the fix! I'll merge once the tests have run.

@chrishavlin chrishavlin added this to the 4.4.2 milestone Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants