We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea1bdc9 commit acb8ccdCopy full SHA for acb8ccd
diffrax/brownian/path.py
@@ -43,7 +43,9 @@ def __init__(
43
key: "jax.random.PRNGKey",
44
):
45
self.shape = (
46
- jax.ShapeDtypeStruct(shape, None) if is_tuple_of_ints(shape) else shape
+ jax.ShapeDtypeStruct(shape, jax.dtypes.canonicalize_dtype(None))
47
+ if is_tuple_of_ints(shape)
48
+ else shape
49
)
50
self.key = key
51
if any(
diffrax/brownian/tree.py
@@ -75,7 +75,9 @@ def __init__(
75
self.t1 = t1
76
self.tol = tol
77
78
79
80
81
82
83
not jnp.issubdtype(x.dtype, jnp.inexact)
0 commit comments