Skip to content

Commit

Permalink
Revert back future Plum update
Browse files Browse the repository at this point in the history
  • Loading branch information
wesselb committed Nov 8, 2023
1 parent 2508919 commit 8f04edc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions neuralprocesses/coding.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def code(coder, xz, z, x, **kw_args):
"""
if any(
[
isinstance(coder, method.signature.types[0])
and issubclass(method.signature.types[0], object)
and not issubclass(object, method.signature.types[0])
for method in code.methods
isinstance(coder, s.types[0])
and issubclass(s.types[0], object)
and not issubclass(object, s.types[0])
for s in code.methods
]
):
raise RuntimeError(
Expand Down

0 comments on commit 8f04edc

Please sign in to comment.