Skip to content

Commit

Permalink
Fix test.sh, which uses nounset, so that it works when JAX_VERSION is…
Browse files Browse the repository at this point in the history
… unset.
  • Loading branch information
carlosgmartin committed Sep 23, 2024
1 parent fad9a20 commit d0113b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ pip install -q -e ".[dp-accounting]"
pip install -q "dp-accounting>=0.1.1" --no-deps

# Install the requested JAX version
if [ "$JAX_VERSION" = "" ]; then
if [ -z "${JAX_VERSION-}" ]; then
: # use version installed in requirements above
elif [ "$JAX_VERSION" = "newest" ]; then
pip install -U jax jaxlib
Expand Down

0 comments on commit d0113b4

Please sign in to comment.