prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Non-conditional density estimators are initialized with context_features=None, should support 0 as well
  the CDEs have a default input context_features which defaults to None. When this is a positive integer, we get a CDE, for a DE we need to set it to None. It should support a value of zero, though.
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `setup.py`
  Content:
  ```
  1 from setuptools import find_packages, setup
  2 
  3 exec(open("lfi/version.py").read())
  4 
  5 setup(
  6     name="lfi",
  7     version=__version__,
  8     description="LFI + CDE.",
  9     url="https://github.com/mackelab/lfi",
  10     author="Conor Durkan",
  11     packages=find_packages(exclude=["tests"]),
  12     license="GPLv3",
  13     test_requires=["pytest", "deepdiff", "torchtestcase"],
  14     install_requires=[
  15         "matplotlib",
  16         "numpy",
  17         "pyro-ppl",
  18         "scipy",
  19         "tensorboard",
  20         "torch",
  21         "tqdm",
  22     ],
  23     extras_requires={"dev": ["autoflake", "black", "flake8", "isort", "pytest"]},
  24     dependency_links=[],
  25 )
  26
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/setup.py b/setup.py
  --- a/setup.py
  +++ b/setup.py
  @@ -1,12 +1,12 @@
   from setuptools import find_packages, setup
   
  -exec(open("lfi/version.py").read())
  +exec(open("sbi/version.py").read())
   
   setup(
  -    name="lfi",
  +    name="sbi",
       version=__version__,
  -    description="LFI + CDE.",
  -    url="https://github.com/mackelab/lfi",
  +    description="Simulation-based inference",
  +    url="https://github.com/mackelab/sbi",
       author="Conor Durkan",
       packages=find_packages(exclude=["tests"]),
       license="GPLv3",
  
verification_info: {"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -1,12 +1,12 @@\n from setuptools import find_packages, setup\n \n-exec(open(\"lfi/version.py\").read())\n+exec(open(\"sbi/version.py\").read())\n \n setup(\n-    name=\"lfi\",\n+    name=\"sbi\",\n     version=__version__,\n-    description=\"LFI + CDE.\",\n-    url=\"https://github.com/mackelab/lfi\",\n+    description=\"Simulation-based inference\",\n+    url=\"https://github.com/mackelab/sbi\",\n     author=\"Conor Durkan\",\n     packages=find_packages(exclude=[\"tests\"]),\n     license=\"GPLv3\",\n", "issue": "Non-conditional density estimators are initialized with context_features=None, should support 0 as well\nthe CDEs have a default input context_features which defaults to None. When this is a positive integer, we get a CDE, for a DE we need to set it to None. It should support a value of zero, though.\n", "before_files": [{"content": "from setuptools import find_packages, setup\n\nexec(open(\"lfi/version.py\").read())\n\nsetup(\n    name=\"lfi\",\n    version=__version__,\n    description=\"LFI + CDE.\",\n    url=\"https://github.com/mackelab/lfi\",\n    author=\"Conor Durkan\",\n    packages=find_packages(exclude=[\"tests\"]),\n    license=\"GPLv3\",\n    test_requires=[\"pytest\", \"deepdiff\", \"torchtestcase\"],\n    install_requires=[\n        \"matplotlib\",\n        \"numpy\",\n        \"pyro-ppl\",\n        \"scipy\",\n        \"tensorboard\",\n        \"torch\",\n        \"tqdm\",\n    ],\n    extras_requires={\"dev\": [\"autoflake\", \"black\", \"flake8\", \"isort\", \"pytest\"]},\n    dependency_links=[],\n)\n", "path": "setup.py"}], "after_files": [{"content": "from setuptools import find_packages, setup\n\nexec(open(\"sbi/version.py\").read())\n\nsetup(\n    name=\"sbi\",\n    version=__version__,\n    description=\"Simulation-based inference\",\n    url=\"https://github.com/mackelab/sbi\",\n    author=\"Conor Durkan\",\n    packages=find_packages(exclude=[\"tests\"]),\n    license=\"GPLv3\",\n    test_requires=[\"pytest\", \"deepdiff\", \"torchtestcase\"],\n    install_requires=[\n        \"matplotlib\",\n        \"numpy\",\n        \"pyro-ppl\",\n        \"scipy\",\n        \"tensorboard\",\n        \"torch\",\n        \"tqdm\",\n    ],\n    extras_requires={\"dev\": [\"autoflake\", \"black\", \"flake8\", \"isort\", \"pytest\"]},\n    dependency_links=[],\n)\n", "path": "setup.py"}]}