Ignore:
Timestamp:
05/24/13 19:12:27 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: simplifying prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/Chaco/Chaco.cpp

    r15100 r15105  
    1212
    1313void ChacoUsage(void){/*{{{*/
    14         _printf0_("" << "\n");
    15         _printf0_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);" << "\n");
    16         _printf0_("" << "\n");
     14        _printf0_("\n");
     15        _printf0_("Usage: [assgn] = Chaco(A,vwgts,ewgts,x,y,z,options,nparts,goal);\n");
     16        _printf0_("\n");
    1717}/*}}}*/
    1818WRAPPER(Chaco){
     
    8989        _printf_("options: [");
    9090        for(i=0;i<10;i++)_printf_(options[i] << "|");
    91         _printf_("]" << "\n");
    92         _printf_("start: " << "\n");
     91        _printf_("]\n");
     92        _printf_("start: \n");
    9393        for (i=0; i<nvtxs+1;i++)_printf_(start[i] << " ");
    94         _printf_("" << "\n");
    95         _printf_("adjacency: " << "\n");
     94        _printf_("\n");
     95        _printf_("adjacency: \n");
    9696        for (i=0; i<mxGetNzmax(A_IN);i++)_printf_("" <<adjacency[i]<< " ");i++)
    97         _printf_("" << "\n");
     97        _printf_("\n");
    9898        _printf_("nedges: " << nedges << " " << ewgts << "\n");
    9999        if(ewgts) for (i = 0; i < nedges; i++)_printf_(ewgts[i] << " ");
    100         _printf_("" << "\n");
    101         _printf_("vwgts:" << "\n");
     100        _printf_("\n");
     101        _printf_("vwgts:\n");
    102102        for (i = 0; i < nvtxs; i++)_printf_(vwgts[i] << " ");
    103         _printf_("" << "\n");
     103        _printf_("\n");
    104104        _printf_("nparts: " << nparts[0] << "\n");
    105105        _printf_("goal: " << goal << "\n");
Note: See TracChangeset for help on using the changeset viewer.