Free cookie consent management tool by TermsFeed Policy Generator

Opened 6 years ago

Closed 5 years ago

#3001 closed defect (done)

The excel formatter produces incorrect output for divisions (1/1*x)

Reported by: gkronber Owned by: abeham
Priority: medium Milestone: HeuristicLab 3.3.16
Component: Problems.DataAnalysis.Symbolic Version: trunk
Keywords: Cc:

Description

How to reproduce

 var t = parser.Parse("1/x");
 var formatter = new SymbolicDataAnalysisExpressionExcelFormatter();
 Console.WriteLine(formatter.Format(t));

Output: =1*1/1*$A1

Expected output =1*1/(1*$A1)

Attachments (1)

Test Excel Formatter.hl (1.4 KB) - added by bburlacu 6 years ago.
Script verifying the formatter

Download all attachments as: .zip

Change History (7)

comment:1 Changed 6 years ago by gkronber

  • Owner set to gkronber
  • Status changed from new to accepted

comment:2 Changed 6 years ago by gkronber

  • Owner changed from gkronber to bburlacu
  • Status changed from accepted to reviewing
  • Version changed from 3.3.15 to trunk

r16764: fixed a bug in the Excel formatter for 1/x (division with a single argument)

Changed 6 years ago by bburlacu

Script verifying the formatter

comment:3 Changed 6 years ago by bburlacu

  • Owner changed from bburlacu to gkronber
  • Status changed from reviewing to readytorelease

r16868: Fix bug formatting the Average symbol. Added quick test in attached file Test Excel Formatter.hl

comment:4 Changed 5 years ago by abeham

  • Owner changed from gkronber to abeham
  • Status changed from readytorelease to reviewing

comment:5 Changed 5 years ago by abeham

  • Status changed from reviewing to readytorelease

comment:6 Changed 5 years ago by abeham

  • Resolution set to done
  • Status changed from readytorelease to closed

r17055: merged to stable

Note: See TracTickets for help on using tickets.