diff bindings/python/pyadb.py @ 720:2fad8cfdb2d8

number of dims and number of vectors were backward stylistic standard.
author map01bf
date Fri, 25 Jun 2010 19:49:30 +0000
parents e3f1cf653c30
children 70542745f473
line wrap: on
line diff
--- a/bindings/python/pyadb.py	Fri Jun 25 09:08:56 2010 +0000
+++ b/bindings/python/pyadb.py	Fri Jun 25 19:49:30 2010 +0000
@@ -84,7 +84,7 @@
 				return
 		elif (featData != None):
 			if (len(args["features"].shape) == 1) : args["features"] = args["features"].reshape((args["features"].shape[0],1))
-			args["nDim"], args["nVect"] = args["features"].shape
+			args["nVect"], args["nDim"] = args["features"].shape
 			args["features"] = args["features"].flatten()
 			print "args: " + str(args)
 			ok = _pyadb._pyadb_insertFromArray(**args)