From ef72946948dea3aab1c357727550d2c85b292ac2 Mon Sep 17 00:00:00 2001 From: rahuel Date: Tue, 30 Aug 2005 08:24:55 +0000 Subject: [PATCH] Traces --- src/GraphBase/DataFlowBase_PortsOfNode.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GraphBase/DataFlowBase_PortsOfNode.cxx b/src/GraphBase/DataFlowBase_PortsOfNode.cxx index 5a5fe8e..d5eada2 100644 --- a/src/GraphBase/DataFlowBase_PortsOfNode.cxx +++ b/src/GraphBase/DataFlowBase_PortsOfNode.cxx @@ -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 ] ; } -- 2.30.2