[Ad-dev] [ADIC] #56: traversal sets AND and OR subtrees to "dont visit"

ADIC trac at mcs.anl.gov
Fri Jul 15 10:13:43 CDT 2011


#56: traversal sets  AND and OR subtrees to  "dont visit"
-----------------------------+----------------------------------------------
 Reporter:  utke             |       Owner:  narayanan
     Type:  defect           |      Status:  new      
 Priority:  major            |   Milestone:           
Component:  OA/Sage to XAIF  |     Version:           
 Keywords:                   |  
-----------------------------+----------------------------------------------
 as eg in :
 InheritedXAIFContext
     XAIFExpressionTraverse::changeInheritedContext(SgAndOp* node,
         InheritedXAIFContext inh)
     {
       //node->get_operand()->set_isVisited(TRUE);
       debugMsg(5, "in changeInheritedContext for SgAndOp");
       setDontVisit(node->get_rhs_operand());
       setDontVisit(node->get_lhs_operand());
       inh.dont_visit = 1;
       return inh;
     }

-- 
Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/56>
ADIC <http://trac.mcs.anl.gov/projects/ADIC>
ADIC: Automatic Differentiation for C and C++


More information about the Ad-dev mailing list