Skip to content

Commit

Permalink
Small documentation correction in example
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Oct 23, 2023
1 parent b4f43f9 commit fa76fc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tiledb/sm/cpp_api/query_experimental.h
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,8 @@ class QueryExperimental {
* default_channel.apply_aggregate("Count", CountOperation{});
*
* uint64_t count = 0;
* uint64_t size = sizeof(uint64_t);
* query.set_data_buffer("Count", &count, &size)
* uint64_t size = 1;
* query.set_data_buffer("Count", &count, size);
* query.submit();
* @endcode
*
Expand Down Expand Up @@ -395,8 +395,8 @@ class QueryExperimental {
* default_channel.apply_aggregate("Sum", operation);
*
* double sum = 0;
* uint64_t size = sizeof(double);
* query.set_data_buffer("Sum", &sum, &size)
* uint64_t size = 1;
* query.set_data_buffer("Sum", &sum, size);
* query.submit();
* @endcode
*
Expand Down

0 comments on commit fa76fc3

Please sign in to comment.