From 7604b28ff6e8293af383ae7328ea2285b3c9bba5 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 29 Apr 2015 16:01:13 -0400 Subject: Debug. --- transformers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'transformers.py') diff --git a/transformers.py b/transformers.py index 13852ac..3473fd5 100644 --- a/transformers.py +++ b/transformers.py @@ -43,7 +43,7 @@ def add_random_k(k, stream): lon = at_least_k(k, x[id_latitude], True, True) loc = random.randrange(len(lat)-k+1) return (numpy.array(lat[loc:loc+k], dtype=theano.config.floatX), - numpy.array(lon[loc:loc+k], dtype=theano.config.floatX)), + numpy.array(lon[loc:loc+k], dtype=theano.config.floatX)) return Mapping(stream, random_k, ('last_k_latitude', 'last_k_longitude')) def add_last_k(k, stream): -- cgit v1.2.3