Skip to content

Commit 0f87a93

Browse files
committed
Fix MACRO that checks for MOAB error
1 parent a0e6405 commit 0f87a93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

export_dagmc_cmd/DAGMCExportCommand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
#define CHK_MB_ERR_RET_MB(A,B) if (moab::MB_SUCCESS != (B)) { \
3636
message << (A) << (B) << std::endl; \
37-
return rval; \
37+
return (B); \
3838
}
3939

4040
DAGMCExportCommand::DAGMCExportCommand() :

0 commit comments

Comments
 (0)