diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e112c1..564b39f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/differt2d/logic.py b/differt2d/logic.py index a6fd440..271b0ee 100644 --- a/differt2d/logic.py +++ b/differt2d/logic.py @@ -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