Skip to content

Commit

Permalink
fix default JAX_ENABLE_X64 env value
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-beedie committed May 19, 2024
1 parent 5319780 commit 7bf53dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py-polars/polars/dataframe/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1767,7 +1767,7 @@ def to_jax(
"for specific installation recommendations for the Jax package",
)
enabled_double_precision = jx.config.jax_enable_x64 or bool(
int(os.environ.get("JAX_ENABLE_X64", "1"))
int(os.environ.get("JAX_ENABLE_X64", "0"))
)
if dtype:
frame = self.cast(dtype)
Expand Down

0 comments on commit 7bf53dd

Please sign in to comment.