summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKevin Greenan <kmgreen2@gmail.com>2013-12-27 22:05:29 -0800
committerKevin Greenan <kmgreen2@gmail.com>2013-12-27 22:05:29 -0800
commitcfedd85ea54e202af8a20668c294daf33653f31f (patch)
tree475856936d7c0d028be042f175c3b9b55582cb64 /tools
parentff2e3ba15c2d95fa19f3e2005e48e3794af34706 (diff)
downloadpyeclib-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.py2
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)
#