You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2017/03/02 19:21:45 UTC

[jira] [Resolved] (SYSTEMML-1186) rdiv not working in python3

     [ https://issues.apache.org/jira/browse/SYSTEMML-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Glenn Weidner resolved SYSTEMML-1186.
-------------------------------------
       Resolution: Fixed
         Assignee: Imran Younus
    Fix Version/s: SystemML 0.12

Resolved with [PR 348 | https://github.com/apache/incubator-systemml/pull/348] applied to both master and 0.12.

> rdiv not working in python3
> ---------------------------
>
>                 Key: SYSTEMML-1186
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1186
>             Project: SystemML
>          Issue Type: Bug
>          Components: APIs, Test
>         Environment: spark 1.6.0
>            Reporter: Imran Younus
>            Assignee: Imran Younus
>            Priority: Minor
>             Fix For: SystemML 0.12
>
>
> While running python dsl test using python3, we encountered the following error:
> {code}
> ERROR: test_div4 (__main__.TestBinaryOp)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/home/iyounus/workspace/systemml_test/systemml-0.12.0-incubating-src/src/main/python/tests/test_matrix_binary_op.py", line 117, in test_div4
>    self.assertTrue(np.allclose(s / sml.matrix(m2), s / m2))
> TypeError: unsupported operand type(s) for /: 'float' and 'matrix'
> ----------------------------------------------------------------------
> {code}
> The reason for this is that rtruediv for python3 does not exists in python api.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)