Bug SS-160
1 vote

Wrong results with optimization None

Created by Martin Kraska on 6/16/2014 1:25 AM Last Updated by smath on 6/16/2014 2:28 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

Here is an example, where optimization "None" gives a wrong result due to missing brackets when substituting expressions.

It is ok if optimization None does not give nicely simplified results. It is not ok if the results are wrong.

 

    smath (Monday, June 16, 2014 2:27 AM) #

Fixed. Will be available in the next release.

    Martin Kraska (Monday, June 16, 2014 2:06 AM) #

Normally, invisible brackets are visible in the serialized text format as curly braces. I did not find them in the given case: a^2='m*'s^2@#. It is this string representation that the Maxima translation process relies upon. Therefore, the issue might still be quite critical, because frequently, Maxima results look best with optimization None.

I hope that Kay finds a way to handle the problem within the given limits. And as I said in SS-159, I assume that the dependence on variable name is an issue of the plugin and not of the core program.

 

    smath (Monday, June 16, 2014 1:47 AM) #

Thank you! I see that there is no calculation error here.

The error is that brackets are not drawn (they are exists but not visible in result).

Will handle it.