From 5d5cbcc4c1231d86029169520ed634a989f19ae2 Mon Sep 17 00:00:00 2001 From: Rory Conlin Date: Tue, 10 Dec 2024 10:31:20 -0500 Subject: [PATCH] Fixes for new dependency versions --- docs/conf.py | 1 - quadax/romberg.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 7397882..3f6447e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -203,7 +203,6 @@ def linkcode_resolve(domain, info): # 'canonical_url': '', # 'analytics_id': 'UA-XXXXXXX-1', # Provided by Google in your dashboard "logo_only": True, - "display_version": True, "prev_next_buttons_location": "both", "style_external_links": False, "style_nav_header_background": "#3c4142", diff --git a/quadax/romberg.py b/quadax/romberg.py index 573ee4f..32c4092 100644 --- a/quadax/romberg.py +++ b/quadax/romberg.py @@ -124,8 +124,7 @@ def sloop(i, s): return s result = result.at[n, 0].set( - 0.5 * result[n - 1, 0] - + h * jax.lax.fori_loop(1, (2**n) // 2 + 1, sloop, s) + 0.5 * result[n - 1, 0] + h * jax.lax.fori_loop(1, (2**n) // 2 + 1, sloop, s) ) neval += (2**n) // 2