fix precedence of uminus in operation 04/16504/2
authorPierre-Aime Agnel <pierre-aime.agnel@scilab-enterprises.com>
Thu, 21 May 2015 09:18:34 +0000 (11:18 +0200)
committerVincent COUVERT <vincent.couvert@scilab-enterprises.com>
Tue, 26 May 2015 11:27:52 +0000 (13:27 +0200)
commit543af4f9f36006bd9bf0da2afab61ae9fc2f8671
tree899b0d44074b4d4ce5057f03f86ecc1f105eeb06
parent9c51c80c961dd42feee224706113b06ba3b86671
fix precedence of uminus in operation

M = matrix(1:4, 2, 2); B = [2; 4];
C = M^-1*B;
assert_checkequal(C, [2;0]);

Change-Id: Ia970740cf7c19d0605062a324175bd5df5055347
scilab/modules/ast/includes/exps/doubleexp.hxx
scilab/modules/ast/includes/parse/parsescilab.hxx
scilab/modules/ast/src/cpp/parse/bison/parsescilab.output
scilab/modules/ast/src/cpp/parse/bison/parsescilab.yy
scilab/modules/ast/src/cpp/parse/parsescilab.cpp
scilab/modules/ast/tests/unit_tests/uminus.dia.ref
scilab/modules/ast/tests/unit_tests/uminus.tst