Print more informtion to help debug to_string failure on ppc64le arch.
This commit is contained in:
parent
eb00ce3fab
commit
1ec5742898
1 changed files with 9 additions and 2 deletions
11
cppad.spec
11
cppad.spec
|
|
@ -139,12 +139,16 @@ cat << EOF > to_string.patch
|
|||
71a93,94
|
||||
> if( std::numeric_limits<Integer>::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 <bradbell at seanet dot com> - 20220000.1-1
|
||||
- Modify to_string.cpp patch to print out more information on failure.
|
||||
|
||||
* Mon Jan 31 2022 Brad Bell <bradbell at seanet dot com> - 20220000.1-1
|
||||
- Fix following long standing typos in cmake command:
|
||||
- 1. cppad_test_vector -> cppad_testvector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue