Changeset 18118
- Timestamp:
- 12/15/21 08:59:47 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Importer/InfixExpressionParser.cs
r18100 r18118 558 558 } else if (next.TokenType == TokenType.Number) { 559 559 var numTok = tokens.Dequeue(); 560 var constNode = (ConstantTreeNode)constant.CreateTreeNode(); 560 var constSy = new Constant {Value = numTok.doubleVal}; 561 return constSy.CreateTreeNode(); 562 /*var constNode = (ConstantTreeNode)constant.CreateTreeNode(); 561 563 constNode.Value = numTok.doubleVal; 562 return constNode; 564 return constNode;*/ 563 565 } else { 564 566 throw new ArgumentException(string.Format("unexpected token in expression {0}", next.strVal));
Note: See TracChangeset
for help on using the changeset viewer.