sympy/sympy-theano.patch
2017-04-01 21:36:52 -06:00

12 lines
494 B
Diff

--- sympy/printing/tests/test_theanocode.py.orig 2016-03-08 11:35:33.000000000 -0700
+++ sympy/printing/tests/test_theanocode.py 2017-04-01 21:32:35.092097881 -0600
@@ -243,7 +243,7 @@ def test_DenseMatrix():
X = MatrixType([[sy.cos(t), -sy.sin(t)], [sy.sin(t), sy.cos(t)]])
tX = theano_code(X)
assert isinstance(tX, tt.TensorVariable)
- assert tX.owner.op == tt.join
+ assert tX.owner.op == tt.join_
def test_AppliedUndef():
t = sy.Symbol('t')