changeset 951:2a4f174879dd

corrected bug
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Mon, 24 Jul 2017 00:28:52 -0400
parents c03d2c0a4c04
children a9b2beef0db4
files scripts/learn-motion-patterns.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/learn-motion-patterns.py	Fri Jul 21 18:18:02 2017 -0400
+++ b/scripts/learn-motion-patterns.py	Mon Jul 24 00:28:52 2017 -0400
@@ -86,7 +86,8 @@
             nmatchings = clusterSizes[i]
         else:
             nmatchings = 0
-        prototypes.append(moving.Prototype(args.databaseFilename, objects[i].getNum(), prototypeType, nmatchings)
+        prototypes.append(moving.Prototype(args.databaseFilename, objects[i].getNum(), prototypeType, nmatchings))
+
 if args.outputPrototypeDatabaseFilename is None:
     outputPrototypeDatabaseFilename = args.databaseFilename
 else: