mirror of
https://github.com/novatiq/packages.git
synced 2026-07-29 23:03:06 +01:00
boost: Package Version Update (1.72.0)
This commit updates Boost to version 1.72.0
There are no new libraries in this release.
Note:
- This commit also adds a post-release patch to fix an issue
with Boost.Coroutine
More info about Boost 1.72.0 can be found at the usual place [1].
[1]: https://www.boost.org/users/history/version_1_72_0.html
Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Index: boost_1_72_0/boost/math/tools/roots.hpp
|
||||
===================================================================
|
||||
--- boost_1_72_0.orig/boost/math/tools/roots.hpp
|
||||
+++ boost_1_72_0/boost/math/tools/roots.hpp
|
||||
@@ -884,7 +884,11 @@ inline T discriminant(T const& a, T cons
|
||||
template<class T>
|
||||
std::pair<T, T> quadratic_roots_imp(T const& a, T const& b, T const& c)
|
||||
{
|
||||
- using std::copysign;
|
||||
+ #if defined(BOOST_GNU_STDLIB) && !defined(_GLIBCXX_USE_C99_MATH_TR1)
|
||||
+ using boost::math::copysign;
|
||||
+ #else
|
||||
+ using std::copysign;
|
||||
+ #endif
|
||||
using std::sqrt;
|
||||
if constexpr (std::is_floating_point<T>::value)
|
||||
{
|
||||
Reference in New Issue
Block a user