diff options
author | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-05-27 22:26:21 -0400 |
---|---|---|
committer | Jaron Kent-Dobias <jaron@kent-dobias.com> | 2019-05-27 22:26:21 -0400 |
commit | ae6ad8569615d81fd4b4a8f13318c8f90a768a37 (patch) | |
tree | e8580c1fb0c4112cebc4a2caf2b661b2af853bbb /src/perc_meas.cpp | |
parent | 1e939e597964fa081b347e40af2be1069867b906 (diff) | |
download | fuse_networks-ae6ad8569615d81fd4b4a8f13318c8f90a768a37.tar.gz fuse_networks-ae6ad8569615d81fd4b4a8f13318c8f90a768a37.tar.bz2 fuse_networks-ae6ad8569615d81fd4b4a8f13318c8f90a768a37.zip |
refactored much of the fracture library and fixed some percolation measurements
Diffstat (limited to 'src/perc_meas.cpp')
-rw-r--r-- | src/perc_meas.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/perc_meas.cpp b/src/perc_meas.cpp index 4220a93..ec7746e 100644 --- a/src/perc_meas.cpp +++ b/src/perc_meas.cpp @@ -159,7 +159,9 @@ void pm::post_fracture(network &n) { } else { ss[components[i].size() - 1]++; } - sn[p][components[i].size() - 1]++; + for (unsigned j = p; j < sn.size(); j++) { + sn[j][components[i].size() - 1]++; + } } sp[p - 1]++; |