Add test for precision conversion with decl_hdf5#672
Open
Yushan-Wang wants to merge 82 commits into
Open
Conversation
Removed check for HDF5 version greater than 2.0.0 and related variable assignment.
…ushan-Wang/pdi into precision-conversion-with-hdf5
059513f to
12dff81
Compare
Member
|
Do you feel it would be a good candidate to demonstrate the use of #669 ? |
…into patch-hdf5-2.0.0
Co-authored-by: Julien Bigot <jbigot@users.noreply.github.com>
Co-authored-by: Julien Bigot <jbigot@users.noreply.github.com>
c257c27 to
ce93f25
Compare
iole-bolognesi
previously approved these changes
May 6, 2026
jmorice91
reviewed
May 7, 2026
| ASSERT_GE(status, 0); | ||
|
|
||
| #if defined(__clang__) && (__clang_major__ == 15) | ||
| // Skipping the numerical comparaison because Clang 15 has known issues with ranges. |
Contributor
There was a problem hiding this comment.
Perhaps do something like that in case we have issue with ranges,
std::array<std::array<int, N>, N> expected_int_array;
for( int ii=0; ii<test_array.size(); ++ii) {
std::transform(test_array[ii].cbegin(), test_array[ii].cend(), expected_int_array[ii].begin(),
[](auto aa){ return static_cast<int>(aa); });
}
// comparison
EXPECT_EQ(expected_int_array, read_int_array);
JAuriac
reviewed
May 7, 2026
jmorice91
reviewed
May 7, 2026
JAuriac
previously approved these changes
May 12, 2026
jbigot
reviewed
May 13, 2026
…f5_tests and update CMake configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
List of things to check before making a PR
Before merging your code, please check the following:
.clang-format;Fix #issuekeyword to autoclose the issue when merged.