MPAS-Dev / MPAS-Tools

MPAS Tools Repository
Other
37 stars 63 forks source link

Fix widen transect function #517

Closed xylar closed 1 year ago

xylar commented 1 year ago

The mask should be of int type, not float

xylar commented 1 year ago

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 commented 1 year ago

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