diff Syncopation models/LHL.py @ 33:f5abd2e8cafe

update models
author csong
date Sun, 12 Apr 2015 23:51:05 +0100
parents 5de1cb45c145
children cc38b3047ed9
line wrap: on
line diff
--- a/Syncopation models/LHL.py	Sun Apr 12 23:23:32 2015 +0100
+++ b/Syncopation models/LHL.py	Sun Apr 12 23:51:05 2015 +0100
@@ -45,7 +45,7 @@
 	else:
 		# set defaults
 		Lmax = 5
-		weightSequence = range(0,-Lmax,-1)
+		weightSequence = range(0,-Lmax-1,-1)
 		# if parameters are specified by users, check their validities and update parameters if valid		
 		if parameters!= None:
 			if 'Lmax' in parameters: