Skip to content

Commit

Permalink
fix xgc field adapter test case to work with 1 indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobmerson committed Jun 1, 2023
1 parent f140db4 commit d60e8fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_xgc_field_adapter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ TEMPLATE_TEST_CASE("XGC Field Adapter", "[adapter]", wdmcpl::LO, wdmcpl::Real)
auto gids = field_adapter.GetGids();
REQUIRE(gids.size() == static_cast<size_t>(num_in_overlap));
std::cerr<<"checking gids\n";
REQUIRE(check_gids(gids, data_size, reverse_classification, in_overlap) == 0);
REQUIRE(check_gids(gids, data_size, reverse_classification, in_overlap,1) == 0);
std::vector<TestType> buffer;
std::vector<wdmcpl::LO> permutation;
std::cerr<<"serializing gids\n";
Expand Down

0 comments on commit d60e8fc

Please sign in to comment.