Skip to content

Commit

Permalink
EXODIFF: Handle compare 1 file with cs, other with none
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Nov 20, 2024
1 parent 45a20cc commit 3f9ed9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/seacas/applications/exodiff/exodiff.C
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,18 @@ namespace {
"Change set count mismatch file1 does not have change sets, file2 has {}.\n"
" Will compare file1 with the first change set in file2.\n",
cs_cnt_2));
cs1.push_back(0);
cs2.push_back(1);
return std::make_pair(cs1, cs2);
}
else {
Warning(fmt::format(
"Change set count mismatch file2 does not have change sets, file1 has {}.\n"
" Will compare file2 with the first change set in file1.\n",
cs_cnt_1));
cs1.push_back(1);
cs2.push_back(0);
return std::make_pair(cs1, cs2);
}
}
else {
Expand Down

0 comments on commit 3f9ed9e

Please sign in to comment.