refine failure generator
[charm.git] / src / libs / ck-libs / tcharm / tcharm.C
index 03327376cc9d449f721c13e223cd0dcab7b33ec9..4b229871cd14159947670c43743b5669e77af71e 100644 (file)
@@ -189,7 +189,7 @@ TCharm::TCharm(TCharmInitMsg *initMsg_)
   threadInfo.tProxy=CProxy_TCharm(thisArrayID);
   threadInfo.thisElement=thisIndex;
   threadInfo.numElements=initMsg->numElements;
-  if (1 || CmiMemoryIs(CMI_MEMORY_IS_ISOMALLOC)) {
+  if (CmiMemoryIs(CMI_MEMORY_IS_ISOMALLOC)) {
        heapBlocks=CmiIsomallocBlockListNew(tid);
   } else
        heapBlocks=0;
@@ -321,7 +321,7 @@ void TCharm::pup(PUP::er &p) {
 void TCharm::pupThread(PUP::er &pc) {
     pup_er p=(pup_er)&pc;
     checkPupMismatch(pc,5138,"before TCHARM thread");
-    if (1 || CmiMemoryIs(CMI_MEMORY_IS_ISOMALLOC))
+    if (CmiMemoryIs(CMI_MEMORY_IS_ISOMALLOC))
       CmiIsomallocBlockListPup(p,&heapBlocks,tid);
     tid = CthPup(p, tid);
     if (pc.isUnpacking()) {