Opened 10 months ago

Closed 7 months 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 9 months ago.
Script verifying the formatter

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 months ago by gkronber

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

comment:2 Changed 10 months 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 9 months ago by bburlacu

Script verifying the formatter

comment:3 Changed 9 months 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 7 months ago by abeham

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

comment:5 Changed 7 months ago by abeham

  • Status changed from reviewing to readytorelease

comment:6 Changed 7 months 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.