diff --git a/CMakeLists.txt b/CMakeLists.txt index 91816584c..aa544582b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,7 +16,7 @@ IF( POLICY CMP0054 ) ENDIF( POLICY CMP0054 ) # # cppad_version is used by version.sh to get the version number. -SET(cppad_version "20240419") +SET(cppad_version "20240420") SET(cppad_url "https://coin-or.github.io/CppAD" ) SET(cppad_description "Differentiation of C++ Algorithms" ) IF( NOT DEFINED CMAKE_BUILD_TYPE) diff --git a/appendix/whats_new/2024.xrst b/appendix/whats_new/2024.xrst index e4d923e16..276ed610c 100644 --- a/appendix/whats_new/2024.xrst +++ b/appendix/whats_new/2024.xrst @@ -28,6 +28,12 @@ Release Notes for 2024 mm-dd ***** +04-20 +===== +The ``# include`` commands were missing at the top of +some of the valvector examples. +This has been fixed; e.g., see ref:`valvector_get_started-name` . + 04-04 ===== The file example/multi_thread/bthread/get_started.cpp had an error diff --git a/example/valvector/ad_join.cpp b/example/valvector/ad_join.cpp index 5f5ca1072..a1147efbd 100644 --- a/example/valvector/ad_join.cpp +++ b/example/valvector/ad_join.cpp @@ -2,8 +2,6 @@ // SPDX-FileCopyrightText: Bradley M. Bell // SPDX-FileContributor: 2024 Bradley M. Bell // --------------------------------------------------------------------------- -# include -# include /* {xrst_begin valvector_ad_join.cpp} @@ -19,6 +17,8 @@ Example and Test of Joining a valvector ------------------------------------------------------------------------------- */ // BEGIN C++ +# include +# include bool ad_join(void) { // ok bool ok = true; diff --git a/example/valvector/ad_split.cpp b/example/valvector/ad_split.cpp index 36a64fb9c..a857aa77b 100644 --- a/example/valvector/ad_split.cpp +++ b/example/valvector/ad_split.cpp @@ -2,8 +2,6 @@ // SPDX-FileCopyrightText: Bradley M. Bell // SPDX-FileContributor: 2024 Bradley M. Bell // --------------------------------------------------------------------------- -# include -# include /* {xrst_begin valvector_ad_split.cpp} @@ -19,6 +17,8 @@ Example and Test of Splitting a valvector ------------------------------------------------------------------------------- */ // BEGIN C++ +# include +# include bool ad_split(void) { // ok bool ok = true; diff --git a/example/valvector/ad_sum.cpp b/example/valvector/ad_sum.cpp index 0fde52e56..87e34d790 100644 --- a/example/valvector/ad_sum.cpp +++ b/example/valvector/ad_sum.cpp @@ -2,8 +2,6 @@ // SPDX-FileCopyrightText: Bradley M. Bell // SPDX-FileContributor: 2024 Bradley M. Bell // --------------------------------------------------------------------------- -# include -# include /* {xrst_begin valvector_ad_sum.cpp} @@ -19,6 +17,8 @@ Example and Test of Summing a valvector ------------------------------------------------------------------------------- */ // BEGIN C++ +# include +# include bool ad_sum(void) { // ok bool ok = true; diff --git a/example/valvector/base_require.cpp b/example/valvector/base_require.cpp index 98b6afc4e..616d18f1a 100644 --- a/example/valvector/base_require.cpp +++ b/example/valvector/base_require.cpp @@ -2,7 +2,6 @@ // SPDX-FileCopyrightText: Bradley M. Bell // SPDX-FileContributor: 2024 Bradley M. Bell // --------------------------------------------------------------------------- -# include /* {xrst_begin valvector_base_require.cpp} @@ -25,6 +24,7 @@ Source Code ------------------------------------------------------------------------------- */ // BEGIN C++ +# include // // base_require bool base_require(void) diff --git a/example/valvector/get_started.cpp b/example/valvector/get_started.cpp index d8afbbbf7..d24790176 100644 --- a/example/valvector/get_started.cpp +++ b/example/valvector/get_started.cpp @@ -2,8 +2,6 @@ // SPDX-FileCopyrightText: Bradley M. Bell // SPDX-FileContributor: 2024 Bradley M. Bell // --------------------------------------------------------------------------- -# include -# include /* {xrst_begin valvector_get_started.cpp} @@ -19,6 +17,8 @@ Getting Started Using valvector as a CppAD Base Class ------------------------------------------------------------------------------- */ // BEGIN C++ +# include +# include bool get_started(void) { // ok bool ok = true; diff --git a/example/valvector/llsq_obj.cpp b/example/valvector/llsq_obj.cpp index 944dfb271..4f4780ea7 100644 --- a/example/valvector/llsq_obj.cpp +++ b/example/valvector/llsq_obj.cpp @@ -2,9 +2,6 @@ // SPDX-FileCopyrightText: Bradley M. Bell // SPDX-FileContributor: 2024 Bradley M. Bell // --------------------------------------------------------------------------- -# include -# include -# include /* {xrst_begin valvector_llsq_obj.cpp} @@ -20,6 +17,9 @@ Using valvector to Represent Linear Least Squares Objective ------------------------------------------------------------------------------- */ // BEGIN C++ +# include +# include +# include bool llsq_obj(void) { // ok bool ok = true; diff --git a/user_guide.xrst b/user_guide.xrst index 741b3e865..f3b368734 100644 --- a/user_guide.xrst +++ b/user_guide.xrst @@ -13,7 +13,7 @@ {xrst_comment BEGIN: Before changing see new_release.sh and check_version.sh} -cppad-20240419: CppAD User's Manual +cppad-20240420: CppAD User's Manual ################################### .. image:: {xrst_dir coin.png}