Bug SS-89
5 votes

Numeric optimization: Wrong error message for undefined variables

Created by Martin Kraska on 3/28/2014 11:07 PM Last Updated by smath on 7/4/2014 2:07 PM
Logged: 2   (hrs)


In the example shown here, the math region is evaluated numerically (by typing =). The error message says I.160 not defined. In fact, it is t which is not defined. This is confusing and costs you time when debugging sheets.

    smath (Friday, July 4, 2014 2:06 PM) #


    smath (Friday, July 4, 2014 11:15 AM) #

The same reported bug: http://en.smath.info/forum/yaf_postst2585findunread_-Not-defined--but-it-is-defined.aspx#post13388

    smath (Friday, July 4, 2014 11:14 AM) #

Investigation results from description are correct.

The issue is about detecting position of the undefined variable/function in the equation when calculation performed right after definition.