Skip to content

Commit 2901627

Browse files
authored
🩹 fix-simple(primitives): use fixed quax default implementation (#137)
Signed-off-by: Nathaniel Starkman <[email protected]>
1 parent 89b4e78 commit 2901627

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

src/quaxed/lax/_patch.py

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
1-
"""Patches for `quax`.
2-
3-
TODO: remove this file when `quax` issues are fixed:
4-
5-
- https://github.com/issues/created?issue=patrick-kidger%7Cquax%7C57
6-
7-
"""
1+
"""Patches for `quax`."""
82

93
__all__: list[str] = []
104

@@ -18,16 +12,6 @@
1812
from jaxtyping import Array, ArrayLike
1913

2014

21-
@quax.register(lax.regularized_incomplete_beta_p) # type: ignore[misc]
22-
def regularized_incomplete_beta_p(
23-
a: ArrayLike,
24-
b: ArrayLike,
25-
x: ArrayLike,
26-
) -> Array:
27-
"""Patched implementation regularized incomplete beta function."""
28-
return lax.regularized_incomplete_beta_p.bind(a, b, x)
29-
30-
3115
@quax.register(lax.scan_p) # type: ignore[misc]
3216
def scan_p(*args: ArrayLike, **kw: Any) -> Array:
3317
"""Patched implementation of lax.map."""

0 commit comments

Comments
 (0)