Status: Accepted
Owner: ----
Labels: Type-Defect Priority-Medium EasyToFix

New issue 3193 by smi...@gmail.com: Matrix(n, 0) and Matrix(0, n) should not look for data
http://code.google.com/p/sympy/issues/detail?id=3193

Presently,

    >>> Matrix(1,0)
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "sympy\matrices\matrices.py", line 3344, in __new__
        [3,     4]
      File "sympy\matrices\matrices.py", line 3337, in _new

File "sympy\matrices\matrices.py", line 169, in _handle_creation_inputs
        raise TypeError("Data type not understood")
    TypeError: Data type not understood

When one of the dimensions is zero the instantiation should omit looking for data.

<For the GSOC aspirants, this is a cherry to fix for your patch requirement.>

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to