From 7e13090e5a6c6ee87e7906ec85e1073f6bc12a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Rozet?= Date: Sat, 13 Jan 2024 00:32:56 +0100 Subject: [PATCH] Fix weird linting issue --- tests/contrib/test_zuko.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/contrib/test_zuko.py b/tests/contrib/test_zuko.py index 4cc068556f..0e22b898a5 100644 --- a/tests/contrib/test_zuko.py +++ b/tests/contrib/test_zuko.py @@ -27,6 +27,7 @@ def test_ZukoToPyro(multivariate: bool, rsample_and_log_prob: bool): dist = normal(mu, sigma) if rsample_and_log_prob: + def dummy(self, shape): x = self.rsample(shape) return x, self.log_prob(x)