fix error

+=1
fix error

error message:

Traceback (most recent call last):
Step 5: Prune and merge targets.
File "C:/Users/Lu/Documents/GitHub/gm_phd_py/main.py", line 80, in
<module>
gm_phd_prune()
File "C:\Users\Lu\Documents\GitHub\gm_phd_py\gm_phd_prune.py", line 50,
in gm_phd_prune
P_range = calculateDataRange4(thisI)
File "C:\Users\Lu\Documents\GitHub\gm_phd_py\util.py", line 14, in
calculateDataRange4
return np.arange(4*j, 4*j+4, 1)
TypeError: only length-1 arrays can be converted to Python scalars
fix error

Traceback (most recent call last):
File "C:/Users/Lu/Documents/GitHub/gm_phd_py/main.py", line 80, in
<module>
gm_phd_prune()
File "C:\Users\Lu\Documents\GitHub\gm_phd_py\gm_phd_prune.py", line 59,
in gm_phd_prune
w_bar_k_l = np.sum(globals.w_k[L])
IndexError: arrays used as indices must be of integer (or boolean) type
fix error

Traceback (most recent call last):
File "C:/Users/Lu/Documents/GitHub/gm_phd_py/main.py", line 80, in
<module>
gm_phd_prune()
File "C:\Users\Lu\Documents\GitHub\gm_phd_py\gm_phd_prune.py", line 69,
in gm_phd_prune
P_val = np.zeros(4, 4)
TypeError: data type not understood
minor fix