From 6f2f5c5df767ac8b662dc44ba88f93e5cf5155c6 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Wed, 10 Jan 2024 13:21:37 -0700 Subject: [PATCH] EXODIFF: Fix call to get entity list size --- packages/seacas/applications/exodiff/ED_Version.h | 4 ++-- packages/seacas/applications/exodiff/check.C | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/seacas/applications/exodiff/ED_Version.h b/packages/seacas/applications/exodiff/ED_Version.h index d9c8cfbc0f..861afe2af1 100644 --- a/packages/seacas/applications/exodiff/ED_Version.h +++ b/packages/seacas/applications/exodiff/ED_Version.h @@ -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"); diff --git a/packages/seacas/applications/exodiff/check.C b/packages/seacas/applications/exodiff/check.C index d139643c41..f1ce9559e4 100644 --- a/packages/seacas/applications/exodiff/check.C +++ b/packages/seacas/applications/exodiff/check.C @@ -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())) {