MPAS-Dev / MPAS-Tools

MPAS Tools Repository
Other
39 stars 65 forks source link

Fixes crash while running ocean_add_depth #390

Closed sterlingbaldwin closed 3 years ago

sterlingbaldwin commented 3 years ago

This fixes an if clause that I believe to be backwards.

Fixes #389

xylar commented 3 years ago

@sterlingbaldwin, sorry about that. Unfortunate timing because I just made a new release of MPAS-Tools yesterday.

I changed the name of the PR because I use the name to describe it in releases and it should be more informative about the problem.

xylar commented 3 years ago

Thanks again @sterlingbaldwin. I tested this as part of https://github.com/MPAS-Dev/MPAS-Tools/pull/391, where I added several tests and fixed other bugs that these tests found. Sorry for not doing adequate testing the first time around.

sterlingbaldwin commented 3 years ago

No problem, I dont mind fixing tiny one line bugs like this when I see them.