[MOAB-dev] commit/MOAB: iulian07: typo catched by serial builds

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat Sep 7 09:04:36 CDT 2013


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/dc966dc54be7/
Changeset:   dc966dc54be7
Branch:      master
User:        iulian07
Date:        2013-09-07 16:02:48
Summary:     typo catched by serial builds
tag_shared_ents for construct_box should be -1 for serial builds

Affected #:  1 file

diff --git a/src/ScdInterface.cpp b/src/ScdInterface.cpp
index d344037..a61c8d2 100644
--- a/src/ScdInterface.cpp
+++ b/src/ScdInterface.cpp
@@ -113,8 +113,8 @@ ErrorCode ScdInterface::construct_box(HomCoord low, HomCoord high, const double
   if (lperiodic) std::copy(lperiodic, lperiodic+3, tmp_lper);
   
 #ifndef USE_MPI
-  if (-1 == tag_shared_ents) ERRORR(MB_FAILURE, "Parallel capability requested but MOAB not compiled parallel.");
-  if (-1 == tag_shared_verts && !assign_gids) assign_gids = true; // need to assign gids in order to tag shared verts
+  if (-1 != tag_shared_ents) ERRORR(MB_FAILURE, "Parallel capability requested but MOAB not compiled parallel.");
+  if (-1 == tag_shared_ents && !assign_gids) assign_gids = true; // need to assign gids in order to tag shared verts
 #else
   if (par_data && low == high && ScdParData::NOPART != par_data->partMethod) {
       // requesting creation of parallel mesh, so need to compute partition

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list