From 867f3d4c5566b21433a6a1bed998094d1479b4d5 Mon Sep 17 00:00:00 2001 From: Galen Andrew Date: Thu, 6 Jan 2022 14:32:14 -0800 Subject: [PATCH] Minor bug in tree aggregation accountant test. PiperOrigin-RevId: 420145652 --- .../privacy/analysis/tree_aggregation_accountant_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tensorflow_privacy/privacy/analysis/tree_aggregation_accountant_test.py b/tensorflow_privacy/privacy/analysis/tree_aggregation_accountant_test.py index 68291b4..5dfe218 100644 --- a/tensorflow_privacy/privacy/analysis/tree_aggregation_accountant_test.py +++ b/tensorflow_privacy/privacy/analysis/tree_aggregation_accountant_test.py @@ -73,6 +73,7 @@ class TreeAggregationTest(tf.test.TestCase, parameterized.TestCase): eps = rdp_accountant.get_privacy_spent( orders, rdp, target_delta=target_delta)[0] self.assertLess(eps, prev_eps) + prev_eps = eps @parameterized.named_parameters( ('negative_noise', -1, 3, 1),