Skip to content

Commit a52a424

Browse files
Update code/stl/randomize.cpp
Co-authored-by: Stephan Hageboeck <stephan.hageboeck@cern.ch>
1 parent a830165 commit a52a424

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/stl/randomize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void compute(int len, T initial, T step) {
1717
// compute differences
1818
std::adjacent_difference(...);
1919

20-
// compute standard deviation of it
20+
// compute standard deviation of all differences
2121
const T sum = std::reduce(...);
2222
const T sumsq = std::reduce(..., [](...) { ...; });
2323
const T mean = sum/len;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy