From e69edb6b203363a8eb8498c0bce30b64a7304232 Mon Sep 17 00:00:00 2001 From: Brendt Wohlberg Date: Wed, 10 Jul 2024 19:02:15 -0600 Subject: [PATCH] Avoid doctest failure due to changes in numpy 2.0 --- docs/source/style.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/style.rst b/docs/source/style.rst index f26bcb85a..80fe8fd27 100644 --- a/docs/source/style.rst +++ b/docs/source/style.rst @@ -439,7 +439,7 @@ classes, or method definitions. Comment explaining example 1. - >>> np.add(1, 2) + >>> int(np.add(1, 2)) 3 Comment explaining a new example.