Changeset 2194 for XIOS


Ignore:
Timestamp:
07/22/21 15:54:04 (3 years ago)
Author:
yushan
Message:

workflow graph : bug fix (check if attribute is defined before querying its value)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/parse_expr/filter_expr_node.cpp

    r2193 r2194  
    4141 
    4242        bool ret=field->buildWorkflowGraph(gc); 
    43         if(field->build_workflow_graph) thisField.build_workflow_graph.set(field->build_workflow_graph); 
     43        if(!field->build_workflow_graph.isEmpty()) thisField.build_workflow_graph.set(field->build_workflow_graph); 
    4444        if (ret) outputPin = field->getInstantDataFilter(); // if dependency is complete build the graph other return nullptr 
    4545         
Note: See TracChangeset for help on using the changeset viewer.