Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the last C++ stack size warning #4099

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion c++/test/tfilter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ static void
test_szip_filter(H5File &file1)
{
#ifdef H5_HAVE_FILTER_SZIP
int points[DSET_DIM1][DSET_DIM2], check[DSET_DIM1][DSET_DIM2];
unsigned szip_options_mask = H5_SZIP_NN_OPTION_MASK;
unsigned szip_pixels_per_block = 4;

Expand All @@ -149,6 +148,8 @@ test_szip_filter(H5File &file1)

if (h5_szip_can_encode() == 1) {
char *tconv_buf = new char[1000];
auto points = new int[DSET_DIM1][DSET_DIM2];
auto check = new int[DSET_DIM1][DSET_DIM2];

try {
const hsize_t size[2] = {DSET_DIM1, DSET_DIM2};
Expand Down Expand Up @@ -201,6 +202,8 @@ test_szip_filter(H5File &file1)
}

delete[] tconv_buf;
delete[] points;
delete[] check;
} // if szip presents
else {
SKIPPED();
Expand Down
Loading