Imran Younus created SYSTEMML-1186:
--------------------------------------
Summary: 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
Priority: Minor
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.4#6332)