From d6ce2d7dc3a62b45272779d771c86338cf4f2c56 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Thu, 14 Sep 2006 02:33:55 +0000 Subject: Fix up r_ so you can specify the minimum number of dimensions to force arrays to and allow alteration of the concatenation axis and whether or not to transpose 1d arrays --- numpy/lib/tests/test_index_tricks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/lib/tests/test_index_tricks.py') diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py index e0be41d8a..f7797396f 100644 --- a/numpy/lib/tests/test_index_tricks.py +++ b/numpy/lib/tests/test_index_tricks.py @@ -39,7 +39,7 @@ class test_concatenator(NumpyTestCase): def check_2d(self): b = rand(5,5) c = rand(5,5) - d = r_[b,c,'1'] # append columns + d = r_['1',b,c] # append columns assert(d.shape == (5,10)) assert_array_equal(d[:,:5],b) assert_array_equal(d[:,5:],c) -- cgit v1.2.1