[Scipy-svn] r3086 - trunk/Lib/sandbox/pyem

scipy-svn at scipy.org scipy-svn at scipy.org
Sat Jun 9 07:43:55 EDT 2007


Author: cdavid
Date: 2007-06-09 06:43:51 -0500 (Sat, 09 Jun 2007)
New Revision: 3086

Modified:
   trunk/Lib/sandbox/pyem/misc.py
Log:
Set def arguments to immutable to avoid nasty side effect.

Modified: trunk/Lib/sandbox/pyem/misc.py
===================================================================
--- trunk/Lib/sandbox/pyem/misc.py	2007-06-09 11:38:41 UTC (rev 3085)
+++ trunk/Lib/sandbox/pyem/misc.py	2007-06-09 11:43:51 UTC (rev 3086)
@@ -1,10 +1,10 @@
-# Last Change: Sat Jun 09 07:00 PM 2007 J
+# Last Change: Sat Jun 09 08:00 PM 2007 J
 
 #========================================================
 # Constants used throughout the module (def args, etc...)
 #========================================================
 # This is the default dimension for representing confidence ellipses
-DEF_VIS_DIM = [0, 1]
+DEF_VIS_DIM = (0, 1)
 DEF_ELL_NP = 100
 DEF_LEVEL = 0.39
 #=====================================================================




More information about the Scipy-svn mailing list