Changeset 928 for trunk


Ignore:
Timestamp:
Nov 30, 2012 10:37:18 AM (7 years ago)
Author:
stefan
Message:

use C/C++ syntax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Couenne/src/branch/Nauty.cpp

    r858 r928  
    110110  // Right now die if bad index.  Can throw exception later
    111111  //printf("addelement %d %d \n", ix, jx);
    112   assert(ix < n_ and jx < n_);
     112  assert(ix < n_ && jx < n_);
    113113  if(ix != jx){  //No Loops
    114114    set *gv = GRAPHROW(G_, ix, m_);
     
    183183{
    184184  // Right now die if bad index.  Can throw exception later
    185   assert(ix < n_ and jx < n_);
     185  assert(ix < n_ && jx < n_);
    186186  set *gv = GRAPHROW(G_, ix, m_);
    187187  if (ISELEMENT(gv, jx)) {
Note: See TracChangeset for help on using the changeset viewer.