Skip to content

Commit bbf2884

Browse files
committed
[FIX] Hotfix of a non-running unit-test
1 parent 4466d2b commit bbf2884

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ end
4545
facts("Utils functions") do
4646
# Test extraction of vector in array:
4747
arr = rand(4, 4, 2)
48-
vec = StochDynamicProgramming.extract_vector_from_3Dmatrix(arr, 2, 1)
49-
@fact typeof(vec) --> Vector{Float64}
50-
@fact size(vec) --> (2,)
51-
@fact vec --> arr[2,1,:]
48+
v = StochDynamicProgramming.extract_vector_from_3Dmatrix(arr, 2, 1)
49+
@fact typeof(v) --> Vector{Float64}
50+
@fact size(v) --> (2,)
51+
@fact v --> vec(arr[2, 1,:])
5252
5353
# Test upper bound calculation:
5454
cost = rand(10)

0 commit comments

Comments
 (0)