diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-02-09 22:16:24 -0500 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-02-09 22:16:24 -0500 |
commit | 523d311f64b660fa002fa713cc302248e4f657c5 (patch) | |
tree | 5d76444a7b2511f04534420abe8e5129bc33b80a /src | |
parent | 578652bf9d57a94a362b4c8a6d36c1755a214863 (diff) | |
download | fuse_networks-523d311f64b660fa002fa713cc302248e4f657c5.tar.gz fuse_networks-523d311f64b660fa002fa713cc302248e4f657c5.tar.bz2 fuse_networks-523d311f64b660fa002fa713cc302248e4f657c5.zip |
fixed size of analanche record
Diffstat (limited to 'src')
-rw-r--r-- | src/measurements.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/measurements.cpp b/src/measurements.cpp index 324313c..360b825 100644 --- a/src/measurements.cpp +++ b/src/measurements.cpp @@ -255,7 +255,7 @@ void ma::bond_broken(const network& net, const current_info& cur, unsigned i) { avalanches_trunc++; } } - Sa[avalanches_trunc]++; + Sa[avalanches_trunc - 1]++; autocorrelation(Mx, My, Caa, forward_plan, fftw_forward_in, fftw_forward_out, reverse_plan, fftw_reverse_in, fftw_reverse_out); |