diff --git a/cxx4/test_filter.cpp b/cxx4/test_filter.cpp index abcd367..db4c17c 100644 --- a/cxx4/test_filter.cpp +++ b/cxx4/test_filter.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include "test_utilities.h" @@ -51,7 +52,7 @@ int main() latVar.setChunking(NcVar::nc_CHUNKED,chunks); cout<<"Setting Filter...."; - latVar.setFilter(BZIP2_ID,BZIP2_NPARAMS,&level); + latVar.setFilter(H5Z_FILTER_DEFLATE, BZIP2_NPARAMS, &level); cout<<"Success\n"; cout<<"Getting filter...";