summaryrefslogtreecommitdiffstats
path: root/hl/c++/examples/ptExampleFL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hl/c++/examples/ptExampleFL.cpp')
-rw-r--r--hl/c++/examples/ptExampleFL.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/c++/examples/ptExampleFL.cpp b/hl/c++/examples/ptExampleFL.cpp
index 4f9c167..93fc58e 100644
--- a/hl/c++/examples/ptExampleFL.cpp
+++ b/hl/c++/examples/ptExampleFL.cpp
@@ -46,8 +46,8 @@ int main(void)
if(fileID <0)
fprintf(stderr, "Couldn't create file.\n");
- /* Create a fixed-length packet table. */
- FL_PacketTable ptable(fileID, "/examplePacketTable", H5T_NATIVE_INT, 1);
+ /* Create a fixed-length packet table with compression level 5. */
+ FL_PacketTable ptable(fileID, "/examplePacketTable", H5T_NATIVE_INT, 100, 5);
if(! ptable.IsValid())
fprintf(stderr, "Unable to create packet table.");