Skip to content

Commit

Permalink
stricter type anotation for julia v0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Feb 8, 2016
1 parent 938b236 commit 06019e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unittest/ndarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [x[2] for x in arrays]
nd_arrays = NDArray[x[2] for x in arrays]
mx.save(fname, nd_arrays)
data = mx.load(fname, mx.NDArray)
@test isa(data, Vector{mx.NDArray})
Expand Down

0 comments on commit 06019e2

Please sign in to comment.