Skip to content

Fix widen transect function#517

Merged
xylar merged 1 commit intoMPAS-Dev:masterfrom
xylar:fix-widen-transect
Aug 4, 2023
Merged

Fix widen transect function#517
xylar merged 1 commit intoMPAS-Dev:masterfrom
xylar:fix-widen-transect

Conversation

@xylar
Copy link
Collaborator

@xylar xylar commented Aug 4, 2023

The mask should be of int type, not float

The mask should be of int type, not float
@xylar
Copy link
Collaborator Author

xylar commented Aug 4, 2023

Without this fix, I'm seeing

double transectCellMasks(nCells, nTransects)

but with the fix, I see:

int transectCellMasks(nCells, nTransects)

as expected.

The mask being of type double was causing segfaults in conjunction with #514

@xylar
Copy link
Collaborator Author

xylar commented Aug 4, 2023

Tested along with #514 in compass, and ran successfully.

@xylar xylar merged commit 531be99 into MPAS-Dev:master Aug 4, 2023
@xylar xylar deleted the fix-widen-transect branch August 4, 2023 19:07
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.

1 participant