changeset 879:0f33afbf517e

fixed typo in dataset_ops/shapeset1
author James Bergstra <bergstrj@iro.umontreal.ca>
date Tue, 17 Nov 2009 13:03:04 -0500
parents faa9f880d0d2
children 7cdefa14ca3c 5d6baeadd660
files pylearn/dataset_ops/shapeset1.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pylearn/dataset_ops/shapeset1.py	Mon Nov 16 13:43:53 2009 -0500
+++ b/pylearn/dataset_ops/shapeset1.py	Tue Nov 17 13:03:04 2009 -0500
@@ -39,7 +39,7 @@
         _valid_cache[x.dtype] = x 
         _valid_cache['lbl'] = y
     return _valid_cache['lbl']
-_valid_cache = {}
+_test_cache = {}
 def test_img(dtype):
     if dtype not in _test_cache:
         x, y = head_test()