Bug SS-2384
1 vote

Undefined variable not detected when multiplied by zero in Symbolic Opimization

Created by AarDvark on 9/4/2016 12:07 AM Last Updated by smath on 9/8/2016 12:11 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

Hi! The title says it all. This can lead to serious calculation errors if the user relies on SMath to detect the use of undefied variables. But it gets detected if the expression uses Numeric Optimization...

    smath (Thursday, September 8, 2016 12:10 AM) #

Fixed.

    smath (Monday, September 5, 2016 4:35 PM) #

Yes, Davide. You're right.

Thank you!

    Davide (Monday, September 5, 2016 4:34 PM) #

I see a couple of issues for edgi cases (in red in the attachment); in all other cases shouldn't be an issue (if i'm not wrong).

    smath (Monday, September 5, 2016 12:34 PM) #

What version of SMath Studio do you use?

In latest builds both Numeric and Symbolic optimizations will ignore undefined variables multiplied by zero. It is by design.

Please also describe what kind of serious calculation errors you expect because of this behavior?