Ignore:
Timestamp:
01/25/17 16:25:17 (7 years ago)
Author:
yushan
Message:

initialize the branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan/src/parse_expr/scalar_expr_node.cpp

    r1020 r1037  
    2323  double CScalarVarExprNode::reduce() const 
    2424  { 
    25     // $missing_value will be replaced with NaN 
    26     if (varId == "missing_value") 
    27     { 
    28       return std::numeric_limits<double>::quiet_NaN(); 
    29     } 
    30     else 
    31     { 
    32       if (!CVariable::has(varId))  
    33         ERROR("double CScalarVarExprNode::reduce() const", << "The variable " << varId << " does not exist."); 
     25    if (!CVariable::has(varId))  
     26      ERROR("double CScalarVarExprNode::reduce() const", << "The variable " << varId << " does not exist."); 
    3427 
    35       return CVariable::get(varId)->getData<double>(); 
    36     } 
     28    return CVariable::get(varId)->getData<double>(); 
    3729  } 
    3830 
Note: See TracChangeset for help on using the changeset viewer.