diff options
| author | Douglas Rumbaugh <dbr4@psu.edu> | 2025-03-03 13:41:19 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <dbr4@psu.edu> | 2025-03-03 13:41:19 -0500 |
| commit | 2ded45f5a20f38fdfd9f348c446c38dc713a5591 (patch) | |
| tree | 746fb09b49ee4c00fc3e4760d899d60d8d8dcce0 /tests/include/wss.h | |
| parent | d116b94389538aa8e0e7354fae77693b980de4f0 (diff) | |
| download | dynamic-extension-2ded45f5a20f38fdfd9f348c446c38dc713a5591.tar.gz | |
Fixed a few concurrency bugs
Diffstat (limited to 'tests/include/wss.h')
| -rw-r--r-- | tests/include/wss.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/include/wss.h b/tests/include/wss.h index 01327d2..5185567 100644 --- a/tests/include/wss.h +++ b/tests/include/wss.h @@ -41,7 +41,7 @@ typedef wss::Query<Shard> Q; START_TEST(t_wss_query) { auto buffer = create_weighted_mbuffer<R>(1000); - auto shard = Shard(buffer->get_buffer_view()); + auto shard = Shard(buffer->get_buffer_view(buffer->debug_get_head())); auto rng = gsl_rng_alloc(gsl_rng_mt19937); size_t k = 20; @@ -77,7 +77,7 @@ START_TEST(t_buffer_wss_query) parms.sample_size = k; { - auto view = buffer->get_buffer_view(); + auto view = buffer->get_buffer_view(buffer->debug_get_head()); auto query = Q::local_preproc_buffer(&view, &parms); Q::distribute_query(&parms, {}, query); auto result = Q::local_query_buffer(query); |