#388 closed defect (fixed)
Problem with adding matrices
Reported by: | Christian Paz | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Math | Version: | head |
Severity: | critical | Keywords: | |
Cc: |
Description
Hi,
This code gives a very strange result in TOL:
Set ab=SetOfMatrix(Matrix a = Col(0,1), Matrix b = Col(2,3));
Matrix c = Col(2,3);
Matrix e = BinGroup("+", ab);
Up to here e= [2 4] That's ok
Matrix f = c + e;
Mistaken result: (4.718282 5.718282)!!!!
Matrix g = e + c;
Correct result..
I suppose it is concerned with another error:
Matrix d = c + BinGroup("+", ab);
Gives a "Text is not a valid type for Matrix" error message. I think the
BinGroup is the error because declaring the matrix directly as "Matrix
c=Col(2,4);" gives the expected result.
Thanks,
Christian
Change History (4)
comment:1 Changed 19 years ago by
Owner: | changed from danirus to Víctor de Buen Remiro |
---|
comment:2 Changed 19 years ago by
Status: | new → assigned |
---|
comment:3 Changed 19 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Now Anything searches first by last known grammar
comment:4 Changed 18 years ago by
bug_file_loc: | → http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000388 |
---|
We are working about this bug
Thanks to report it