diff options
author | Kevin Greenan <kmgreen2@gmail.com> | 2013-12-27 22:05:29 -0800 |
---|---|---|
committer | Kevin Greenan <kmgreen2@gmail.com> | 2013-12-27 22:05:29 -0800 |
commit | cfedd85ea54e202af8a20668c294daf33653f31f (patch) | |
tree | 475856936d7c0d028be042f175c3b9b55582cb64 /tools | |
parent | ff2e3ba15c2d95fa19f3e2005e48e3794af34706 (diff) | |
download | pyeclib-cfedd85ea54e202af8a20668c294daf33653f31f.tar.gz |
Minor bug in a boundary condition when enumerating the viable EC schemes.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pyeclib_conf_tool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pyeclib_conf_tool.py b/tools/pyeclib_conf_tool.py index c9e8ef3..becd70b 100644 --- a/tools/pyeclib_conf_tool.py +++ b/tools/pyeclib_conf_tool.py @@ -97,7 +97,7 @@ def get_viable_schemes(max_num_frags, minimum_rate, avg_stripe_size, fault_toler # # Iterate over EC(k, max_num_frags-k) k \in [min_k, n-min_m] # - for k in range(min_k, max_num_frags-min_m): + for k in range(min_k, max_num_frags-min_m+1): # # RS(k, max_num_frags-k) is trivial, just add it (w=[8,16,32] for vand_rs) # |