diff PyFeatureSet.cpp @ 32:a8231788216c vampy2

Vampy2: accept numpy array return types.
author fazekasgy
date Mon, 21 Sep 2009 13:56:28 +0000
parents 4f1894c7591b
children
line wrap: on
line diff
--- a/PyFeatureSet.cpp	Sun Sep 20 17:31:20 2009 +0000
+++ b/PyFeatureSet.cpp	Mon Sep 21 13:56:28 2009 +0000
@@ -9,8 +9,6 @@
 {
     if (PyDict_Type.tp_init((PyObject *)self, args, kwds) < 0)
         return -1;
-    self->state = 0;
-	cerr << "FeatureSet initialised" << endl;
     return 0;
 }
 
@@ -20,7 +18,7 @@
 	// cerr << "called FeatureSetObject_ass_sub" << endl;
 	if (!PyInt_CheckExact(v)) {
 		/// TODO: Set ValueError here.
-		cerr << "Output index must be positive integer" << endl;
+		cerr << "ValueError: Output index must be positive integer" << endl;
 		return 0;
 	}
 	if (w == NULL)