mirror of
https://github.com/google-deepmind/deepmind-research.git
synced 2026-06-02 06:06:39 +08:00
Fix or ignore some pytype errors related to jnp.ndarray == jax.Array.
PiperOrigin-RevId: 511294746
This commit is contained in:
committed by
Saran Tunyasuvunakool
parent
797ea3c71d
commit
c051e6a51d
@@ -677,7 +677,7 @@ def solve_hamiltonian_ivp_t_eval(
|
||||
if method == "adaptive":
|
||||
dy_dt = phase_space.transform_symplectic_tangent_function_using_array(dy_dt)
|
||||
|
||||
return solve_ivp_t_eval(
|
||||
return solve_ivp_t_eval( # pytype: disable=bad-return-type # jax-ndarray
|
||||
fun=dy_dt,
|
||||
t_span=t_span,
|
||||
y0=y0,
|
||||
|
||||
Reference in New Issue
Block a user