From 554ac46be1b328a1fae4eaaeeeb48d2be540b93f Mon Sep 17 00:00:00 2001 From: fuatbeser Date: Fri, 31 May 2019 16:20:14 +0300 Subject: [PATCH] extra "zero" index removed. --- Section 1 - Differential Privacy.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Section 1 - Differential Privacy.ipynb b/Section 1 - Differential Privacy.ipynb index 7b7bece..17acd71 100644 --- a/Section 1 - Differential Privacy.ipynb +++ b/Section 1 - Differential Privacy.ipynb @@ -88,7 +88,7 @@ "source": [ "def get_parallel_db(db, remove_index):\n", "\n", - " return torch.cat((db[0:remove_index], \n", + " return torch.cat((db[:remove_index], \n", " db[remove_index+1:]))" ] },