Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup of warnings from the test suite #23754

Merged
merged 7 commits into from
Jul 12, 2022
Prev Previous commit
fix(printing): restore kwarg for Theano
This was changed because Aesara gives a warning when the broadcastable
argument is used and suggests changing it to shape. However shape is
incompatible with Theano so this commit restores the use of the
broadcastable argument that works with both Theano and Aesara although
it gives a warning under Aesara.
  • Loading branch information
oscarbenjamin committed Jul 11, 2022
commit b724ba03099fdfca377f09238b08934206a3a9e6
2 changes: 1 addition & 1 deletion sympy/printing/aesaracode.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def _get_or_create(self, s, name=None, dtype=None, broadcastable=None):
if key in self.cache:
return self.cache[key]

value = aet.tensor(name=name, dtype=dtype, shape=broadcastable)
value = aet.tensor(name=name, dtype=dtype, broadcastable=broadcastable)
self.cache[key] = value
return value

Expand Down