[Scipy-svn] r2878 - trunk/Lib/sandbox/timeseries/io/fame/src

scipy-svn@scip... scipy-svn@scip...
Tue Mar 27 14:23:28 CDT 2007


Author: mattknox_ca
Date: 2007-03-27 14:23:23 -0500 (Tue, 27 Mar 2007)
New Revision: 2878

Modified:
   trunk/Lib/sandbox/timeseries/io/fame/src/cfame.c
Log:
no longer raise error if CHLI previously initialized

Modified: trunk/Lib/sandbox/timeseries/io/fame/src/cfame.c
===================================================================
--- trunk/Lib/sandbox/timeseries/io/fame/src/cfame.c	2007-03-27 19:12:29 UTC (rev 2877)
+++ trunk/Lib/sandbox/timeseries/io/fame/src/cfame.c	2007-03-27 19:23:23 UTC (rev 2878)
@@ -1278,7 +1278,11 @@
 {
     PyObject *m, *FAME_CONSTANTS;
     int status;
-    CALLFAME(cfmini(&status));
+    CALLFAME_NOCHECK(cfmini(&status));
+    if (status != HSUCC && status != HINITD) {
+        if (checkError(status)) { return NULL; }
+    }
+
     if ((m = Py_InitModule3("cfame", cfame_methods, cfame_doc)) == NULL) return NULL;
     import_array();
     makeTranslationTables();



More information about the Scipy-svn mailing list