diff --git a/cppad.spec b/cppad.spec index f4059f2..5fadadd 100644 --- a/cppad.spec +++ b/cppad.spec @@ -139,12 +139,16 @@ cat << EOF > to_string.patch 71a93,94 > if( std::numeric_limits::min() != 0 ) > std::cout << "unsigned_integer: min != 0\n"; -83a107,108 +83a107,110 > if( ! ok ) +> { std::cout << "check/pi - 1.0 = " << check/pi - 1.0 << "\n"; > print_error("floating", "pi", pi, check, eps); -100a126,127 +> } +100a128,131 > if( ! ok ) +> { std::cout << "check/pi - 1.0 = " << check/pi - Base(1.0) << "\n"; > print_error("ad_floating", "pi", pi, check, eps); +> } EOF patch CppAD-%{version}/example/utility/to_string.cpp to_string.patch # ----------------------------------------------------------------------------- @@ -235,6 +239,9 @@ make %{?_smp_mflags} check # This enables one to check that the necessary files are installed. # ---------------------------------------------------------------------------- %changelog +* Tue Feb 01 2022 Brad Bell - 20220000.1-1 +- Modify to_string.cpp patch to print out more information on failure. + * Mon Jan 31 2022 Brad Bell - 20220000.1-1 - Fix following long standing typos in cmake command: - 1. cppad_test_vector -> cppad_testvector