Blame SOURCES/sympy-theano-pymc.patch

rdobuilder 99d4dc
--- sympy-sympy-1.6.2/sympy/printing/tests/test_theanocode.py.orig	2020-08-07 09:17:07.000000000 -0600
rdobuilder 99d4dc
+++ sympy-sympy-1.6.2/sympy/printing/tests/test_theanocode.py	2020-11-26 07:36:24.900389599 -0700
rdobuilder 99d4dc
@@ -350,7 +350,7 @@ def test_theano_function_scalar():
rdobuilder 99d4dc
             f = theano_function_(inputs, outputs, dims=in_dims, scalar=scalar)
rdobuilder 99d4dc
 
rdobuilder 99d4dc
             # Check the theano_function attribute is set whether wrapped or not
rdobuilder 99d4dc
-            assert isinstance(f.theano_function, theano.compile.function_module.Function)
rdobuilder 99d4dc
+            assert isinstance(f.theano_function, theano.compile.function.types.Function)
rdobuilder 99d4dc
 
rdobuilder 99d4dc
             # Feed in inputs of the appropriate size and get outputs
rdobuilder 99d4dc
             in_values = [
rdobuilder 99d4dc
--- sympy-sympy-1.6.2/sympy/printing/theanocode.py.orig	2020-08-07 09:17:07.000000000 -0600
rdobuilder 99d4dc
+++ sympy-sympy-1.6.2/sympy/printing/theanocode.py	2020-11-26 07:35:55.667441366 -0700
rdobuilder 99d4dc
@@ -442,7 +442,7 @@ def theano_function(inputs, outputs, sca
rdobuilder 99d4dc
         function will return a list of arrays. See description of the ``squeeze``
rdobuilder 99d4dc
         argument above for the behavior when a single output is passed in a list.
rdobuilder 99d4dc
         The returned object will either be an instance of
rdobuilder 99d4dc
-        ``theano.compile.function_module.Function`` or a Python wrapper
rdobuilder 99d4dc
+        ``theano.compile.function.types.Function`` or a Python wrapper
rdobuilder 99d4dc
         function around one. In both cases, the returned value will have a
rdobuilder 99d4dc
         ``theano_function`` attribute which points to the return value of
rdobuilder 99d4dc
         ``theano.function``.