Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeertmans committed Apr 24, 2024
1 parent 49dda0f commit 7aad05f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Setting this variable to any value will disable approximation.
This is a **breaking change**.
[#45](https://github.com/jeertmans/DiffeRT2d/pull/54)
+ Changing the default value of enabling (or not) approximation from `jax.config`
+ Changed the default value of enabling (or not) approximation from `jax.config`
(removed from their API) to `differt2d.logic.set_approx`.
This is a **breaking change**.
[#45](https://github.com/jeertmans/DiffeRT2d/pull/54)
Expand Down
1 change: 1 addition & 0 deletions differt2d/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def enable_approx(enable: bool = True):
For example:
>>> import jax
>>> import differt2d.logic
>>> from differt2d.logic import enable_approx
>>>
>>> @jax.jit
Expand Down

0 comments on commit 7aad05f

Please sign in to comment.