diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-11-03 15:56:35 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2017-11-03 15:56:35 -0400 |
commit | 181db84a8ffb26e436a43bb268fe5ef060206e66 (patch) | |
tree | 25e04455ed47daa760f3fadf8aae4ddaa679c192 /src | |
parent | c93a56cb0b5e52242667b918a6800384498b9b12 (diff) | |
download | c++-181db84a8ffb26e436a43bb268fe5ef060206e66.tar.gz c++-181db84a8ffb26e436a43bb268fe5ef060206e66.tar.bz2 c++-181db84a8ffb26e436a43bb268fe5ef060206e66.zip |
add last term to the convex function
Diffstat (limited to 'src')
-rw-r--r-- | src/wolff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wolff.c b/src/wolff.c index c532be4..f3f45cf 100644 --- a/src/wolff.c +++ b/src/wolff.c @@ -243,7 +243,7 @@ int main(int argc, char *argv[]) { double ttau = - 0.5; - for (uint64_t i = 0; i < n; i++) { + for (uint64_t i = 0; i < n + 1; i++) { ttau += conv_Gamma[i]; } |