Bug SS-2292
3 votes

Augment vs unary subtraction vs symbolic evaluation

Created by Davide on 2/5/2016 7:47 PM Last Updated by smath on 2/16/2016 12:46 AM
%
 (hrs)
Logged: 0   (hrs)

 Description

2016-02-05 17_42_01-SMath Studio Desktop - [BigBug.sm_].png

In the example above, for the symbolic evaluation of f(0):
- if k1 is a number, all goes right;
- if k1 is a matrix and k2:=-k1 -> wrong augment
- if k1 is a matrix and k2:=eval(-k1) or k2:=-1*k1 -> ok

No problems if the evaluation is numeric.

    smath (Tuesday, February 16, 2016 12:46 AM) #

Fixed. Thank you!