Ignore:
Timestamp:
09/20/13 15:44:30 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: cleaning up updateelements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/Scotchx/Scotchx.cpp

    r11401 r16218  
    260260    }
    261261  }
    262   if ((flagval & C_FLAGPART) != 0) {              /* If program run as the partitioner            */
     262  if ((flagval && C_FLAGPART) != 0) {              /* If program run as the partitioner            */
    263263    C_fileTab[3].name = C_fileTab[2].name;        /* Put provided file names at their right place */
    264264    C_fileTab[2].name = C_fileTab[1].name;
     
    305305  clockStop (&runtime[0]);                        /* Get output time */
    306306
    307   if (flagval & C_FLAGVERBSTR) {
     307  if (flagval && C_FLAGVERBSTR) {
    308308    fprintf (C_filepntrlogout, "S\tStrat=");
    309309    SCOTCH_stratSave (&stradat, C_filepntrlogout);
    310310    putc ('\n', C_filepntrlogout);
    311311  }
    312   if (flagval & C_FLAGVERBTIM) {
     312  if (flagval && C_FLAGVERBTIM) {
    313313    fprintf (C_filepntrlogout, "T\tMapping\t\t%g\nT\tI/O\t\t%g\nT\tTotal\t\t%g\n",
    314314             (double) clockVal (&runtime[1]),
     
    317317             (double) clockVal (&runtime[1]));
    318318  }
    319   if (flagval & C_FLAGVERBMAP)
     319  if (flagval && C_FLAGVERBMAP)
    320320    SCOTCH_graphMapView (&grafdat, &mapdat, C_filepntrlogout);
    321321
Note: See TracChangeset for help on using the changeset viewer.