From 0f87a9312f8028cf64802cddc9a85e9de7329f2c Mon Sep 17 00:00:00 2001 From: "Paul P.H. Wilson" Date: Mon, 22 Mar 2021 20:59:20 -0500 Subject: [PATCH] Fix MACRO that checks for MOAB error --- export_dagmc_cmd/DAGMCExportCommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/export_dagmc_cmd/DAGMCExportCommand.cpp b/export_dagmc_cmd/DAGMCExportCommand.cpp index 8abe9c567..f4ec2b7a0 100644 --- a/export_dagmc_cmd/DAGMCExportCommand.cpp +++ b/export_dagmc_cmd/DAGMCExportCommand.cpp @@ -34,7 +34,7 @@ #define CHK_MB_ERR_RET_MB(A,B) if (moab::MB_SUCCESS != (B)) { \ message << (A) << (B) << std::endl; \ - return rval; \ + return (B); \ } DAGMCExportCommand::DAGMCExportCommand() :