fix xrange

This commit is contained in:
Zhenwen Dai 2015-09-24 14:46:43 +01:00
parent 2176922861
commit 07964d776c
2 changed files with 3 additions and 3 deletions

View file

@ -361,7 +361,7 @@ class SkewChecker(HessianChecker):
#Check every block individually (for ease)
check_passed = [False]*numeric_hess.shape[2]
for block_ind in xrange(numeric_hess.shape[2]):
for block_ind in range(numeric_hess.shape[2]):
#Unless super_plot is set, just plot the first one
p = True if (plot and block_ind == numeric_hess.shape[2]-1) or super_plot else False
if verbose: