From 1c707a2147a077c536627b9f337515677eab1a73 Mon Sep 17 00:00:00 2001 From: Chiyuan Zhang Date: Mon, 8 Feb 2016 12:00:19 -0500 Subject: [PATCH] fix typo --- test/unittest/ndarray.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unittest/ndarray.jl b/test/unittest/ndarray.jl index 2f7d4d9af..67bff2959 100644 --- a/test/unittest/ndarray.jl +++ b/test/unittest/ndarray.jl @@ -192,7 +192,7 @@ function test_saveload() # save and load N arrays of different shape arrays = [rand_tensors(rand_dims()) for i = 1:n_arrays] - nd_arrays = NDArray[x[2] for x in arrays] + nd_arrays = mx.NDArray[x[2] for x in arrays] mx.save(fname, nd_arrays) data = mx.load(fname, mx.NDArray) @test isa(data, Vector{mx.NDArray})