﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2364	Math order of operations changes after file save	anonymous	Adeel Asghar	"When writing an equation in OMEdit and using parenthesis to dictate the desired order of operations, the equation is changed after file save. When the following formula is evaluated in OMShell just as it is typed here:

>> hl:=f*(pipelength/(pipediameter/12))*((vin^2)/(2*g))
37.77689569419355

The correct answer is given. When the same formula is saved in OMShell, some of the parenthesis are removed which changes the order of evaluation. The result after the file save is:

hl = f * pipelength / pipediameter / 12 * vin ^ 2 / (2 * g)

Which, when copied to OMShell and evaluated gives the following:

hl := f * pipelength / pipediameter / 12 * vin ^ 2 / (2 * g)
0.26233955343189963

Which is clearly the wrong answer.
"	defect	closed	critical	1.9.4	OMEdit	trunk	fixed		
