Unidata / netcdf-cxx4

Official GitHub repository for netCDF-C++ libraries and utilities.
Other
125 stars 49 forks source link

Fixed bug in test of compound type fill value #4

Closed jarlela closed 10 years ago

jarlela commented 10 years ago

test_type was failing due to an incorrectly call to NcVar::setFill.

In the original code the result was a call to template NcVar::setFill(bool, T) witt T=struct3*, which resulted in the address of the fill value being copied instead of the value.