From 9ab55d54ce0a5ee9a15323ced264dbb008730a8c Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Fri, 18 Aug 2023 08:48:52 -0600 Subject: [PATCH] CONJOIN: Fix the error detection logic --- packages/seacas/applications/conjoin/Conjoin.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/seacas/applications/conjoin/Conjoin.C b/packages/seacas/applications/conjoin/Conjoin.C index d262e7125b..a0038847a3 100644 --- a/packages/seacas/applications/conjoin/Conjoin.C +++ b/packages/seacas/applications/conjoin/Conjoin.C @@ -2052,9 +2052,9 @@ namespace { fmt::print("ERROR: Part mesh {} has a different number of {} variables ({}) than the root " "part mesh ({}) which is not allowed.\n", p, vars.label(), num_vars, vars.index_.size() - extra); - return false; + return true; } - return true; + return false; } template void put_mesh_summary(const Excn::Mesh &mesh)