You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 29, 2023. It is now read-only.
In the Matrix module, after creating 2*2 Matrix A and 3*3 Matrix B, then input the content of Matrix A as [[1,2],[3,4]] and Matrix B as [[1,2,3],[4,5,6],[7,8,9]
Then choose the A + B function,after evaluate the result is
which is incorrect.
Expected behavior
I expected the result should be “inconsistent dimensions: 2 != 3”, which is same as the result of A x B function.
To reproduce
Open NCalc+ (Which is build from latest source code)
Describe the bug
In the Matrix module, after creating 2*2 Matrix A and 3*3 Matrix B, then input the content of Matrix A as [[1,2],[3,4]] and Matrix B as [[1,2,3],[4,5,6],[7,8,9]

Then choose the A + B function,after evaluate the result is

which is incorrect.
Expected behavior
I expected the result should be “inconsistent dimensions: 2 != 3”, which is same as the result of A x B function.

To reproduce
Configuration
Screenshots