projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.72.0
[platform/upstream/boost.git]
/
libs
/
multiprecision
/
example
/
hypergeometric_luke_algorithms.cpp
diff --git
a/libs/multiprecision/example/hypergeometric_luke_algorithms.cpp
b/libs/multiprecision/example/hypergeometric_luke_algorithms.cpp
index
07fc90e
..
4fb4e13
100644
(file)
--- a/
libs/multiprecision/example/hypergeometric_luke_algorithms.cpp
+++ b/
libs/multiprecision/example/hypergeometric_luke_algorithms.cpp
@@
-219,7
+219,7
@@
namespace examples
const T scale = std::accumulate(C.begin(),
C.end(),
T(0),
- [&b_neg](T
&
scale_sum, const T& ck) -> T
+ [&b_neg](T scale_sum, const T& ck) -> T
{
((!b_neg) ? (scale_sum += ck) : (scale_sum -= ck));
b_neg = (!b_neg);