Salome HOME
Traces
authorrahuel <rahuel@opencascade.com>
Tue, 30 Aug 2005 08:24:55 +0000 (08:24 +0000)
committerrahuel <rahuel@opencascade.com>
Tue, 30 Aug 2005 08:24:55 +0000 (08:24 +0000)
src/GraphBase/DataFlowBase_PortsOfNode.cxx

index 5a5fe8ed5037d68f6ec431c46a74dc52350f3292..d5eada268d68e69067ddfacc6712bc4b33c2b30e 100644 (file)
@@ -566,7 +566,7 @@ GraphBase::InPort *GraphBase::PortsOfNode::GetChangeInPort( const char * name) {
     if ( index > 0 ) {
 #if PortsOfNodeTrace
       cdebug << "GraphBase::PortsOfNode::GetChangeInPort _MapOfNodeInPorts[ "
-             << name << " ] : " << i-1 << " " << _NodeInPorts[ i-1 ]->NodeName()
+             << name << " ] : " << index-1 << " " << _NodeInPorts[ index-1 ]->NodeName()
              << endl ;
 #endif
       pP = _NodeInPorts[ index-1 ] ;
@@ -610,7 +610,7 @@ GraphBase::OutPort *GraphBase::PortsOfNode::GetChangeOutPort( const char * name
     if ( index > 0 ) {
 #if PortsOfNodeTrace
       cdebug << "GraphBase::PortsOfNode::GetChangeOutPort _MapOfNodeOutPorts[ "
-             << name << " ] : " << i-1 << " " << _NodeOutPorts[ i-1 ]->NodeName() << endl ;
+             << name << " ] : " << index-1 << " " << _NodeOutPorts[ index-1 ]->NodeName() << endl ;
 #endif
       pP = _NodeOutPorts[ index-1 ] ;
     }