Skip to content

Commit

Permalink
Merge pull request #23958 from oscarbenjamin/pr_aesara_111
Browse files Browse the repository at this point in the history
fix(aesara): don't use deprecated functions
  • Loading branch information
oscarbenjamin committed Aug 22, 2022
2 parents 8ce582b + 15ade13 commit 26f7bdb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sympy/printing/aesaracode.py
Expand Up @@ -19,7 +19,7 @@
mapping = {
sympy.Add: aet.add,
sympy.Mul: aet.mul,
sympy.Abs: aet.abs_,
sympy.Abs: aet.abs,
sympy.sign: aet.sgn,
sympy.ceiling: aet.ceil,
sympy.floor: aet.floor,
Expand Down Expand Up @@ -51,10 +51,10 @@
sympy.StrictLessThan: aet.lt,
sympy.LessThan: aet.le,
sympy.GreaterThan: aet.ge,
sympy.And: aet.and_, # bitwise
sympy.Or: aet.or_, # bitwise
sympy.And: aet.bitwise_and, # bitwise
sympy.Or: aet.bitwise_or, # bitwise
sympy.Not: aet.invert, # bitwise
sympy.Xor: aet.xor, # bitwise
sympy.Xor: aet.bitwise_xor, # bitwise
sympy.Max: aet.maximum, # Sympy accept >2 inputs, Aesara only 2
sympy.Min: aet.minimum, # Sympy accept >2 inputs, Aesara only 2
sympy.conjugate: aet.conj,
Expand Down

0 comments on commit 26f7bdb

Please sign in to comment.