Skip to content

Commit

Permalink
EXODIFF: Fix call to get entity list size
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Jan 10, 2024
1 parent 07166fd commit 6f2f5c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/seacas/applications/exodiff/ED_Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
// See packages/seacas/LICENSE for details
#pragma once

static const std::string version("3.29");
static const std::string verdate("2024-01-08");
static const std::string version("3.30");
static const std::string verdate("2024-01-10");
4 changes: 2 additions & 2 deletions packages/seacas/applications/exodiff/check.C
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,10 @@ namespace {
}
if (assembly1->Size() != assembly2->Size()) {
Warning(fmt::format(".. Assembly '{}': number of entities doesn't agree ({} != {}).\n",
assembly1->Name(), assembly1->Size(), assembly2->Size()));
assembly1->Name(), assembly1->Entities().size(), assembly2->Entities().size()));
is_same = false;
}
if ((assembly1->Type() == assembly2->Type()) && (assembly1->Size() == assembly2->Size())) {
if ((assembly1->Type() == assembly2->Type()) && (assembly1->Entities().size() == assembly2->Entities().size())) {
// Check membership of the entities list...
if (!std::is_permutation(assembly1->Entities().begin(), assembly1->Entities().end(),
assembly2->Entities().begin())) {
Expand Down

0 comments on commit 6f2f5c5

Please sign in to comment.