From 3febdb224223cf3bfbd7213b10fd8da154255d07 Mon Sep 17 00:00:00 2001 From: Brad Bell Date: Wed, 25 Sep 2024 15:08:05 -0700 Subject: [PATCH] main: release_notes.xrst: mention change in pull request #11. fun_speed.py: simplify (see issue 12) --- bin/get_package.sh | 4 ++-- python/cmpad/fun_speed.py | 4 +--- xrst/release_notes.xrst | 5 +++++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bin/get_package.sh b/bin/get_package.sh index b3eebeb..41f2b2b 100755 --- a/bin/get_package.sh +++ b/bin/get_package.sh @@ -122,8 +122,8 @@ under_construction='clad fastad xad' # # where *build_type* is ``debug`` or ``release`` . # -# Virtual Environment -# ******************* +# environment.sh +# ************** # The following commands set the prefix as a virtual environment: # # | build_type=\ *build_type* diff --git a/python/cmpad/fun_speed.py b/python/cmpad/fun_speed.py index 7d44acb..40103e5 100644 --- a/python/cmpad/fun_speed.py +++ b/python/cmpad/fun_speed.py @@ -87,9 +87,7 @@ def fun_speed(fun_obj, option, min_time) : # # repeat, t_start, t_end, t_diff repeat = 0 - t_start = timeit.default_timer() - t_end = timeit.default_timer() - t_diff = t_end - t_start + t_diff = 0.0 # # while t_diff < min_time while t_diff < min_time : diff --git a/xrst/release_notes.xrst b/xrst/release_notes.xrst index a32269a..64ab335 100644 --- a/xrst/release_notes.xrst +++ b/xrst/release_notes.xrst @@ -22,6 +22,11 @@ Release Notes for 2024 mm-dd ***** +09-24 +===== +Change the file :ref:`get_package@environment.sh` so that it works +with bash version 3 or higher (not version 4 or higher). + 09-23 ===== There was an indexing error in the definition of the