Skip to content

Commit 2b1896a

Browse files
committed
Fixed to compile under Intel compiler.
1 parent f549d8e commit 2b1896a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

copasi/function/CEvaluationTree.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,10 @@ bool CEvaluationTree::setTree(const ASTNode& pRootNode, bool isFunction)
547547
{
548548
switch (TargetType)
549549
{
550-
case CEvaluationNode::ValueType::Number:
550+
case CEvaluationNode::Number:
551551
{
552552
CEvaluationNode * pBoolean = pNode;
553-
pNode = new CEvaluationNodeChoice(CEvaluationNode::SubType::S_IF, "if");
553+
pNode = new CEvaluationNodeChoice(CEvaluationNode::S_IF, "if");
554554
itNode->addChild(pNode, pBoolean);
555555
itNode->removeChild(pBoolean);
556556

@@ -562,8 +562,8 @@ bool CEvaluationTree::setTree(const ASTNode& pRootNode, bool isFunction)
562562
}
563563
break;
564564

565-
case CEvaluationNode::ValueType::Boolean:
566-
case CEvaluationNode::ValueType::Unknown:
565+
case CEvaluationNode::Boolean:
566+
case CEvaluationNode::Unknown:
567567
// We do not convert to these type yet
568568
break;
569569
}

0 commit comments

Comments
 (0)