Commit 542fc4cd authored by Steven Cordwell's avatar Steven Cordwell
Browse files

fix [] instead of {}

parent 263ea10c
......@@ -109,14 +109,14 @@ def test_check_P_square_stochastic_nonnegative_dict_array():
assert (check(P, R) == None)
def test_check_P_square_stochastic_nonnegative_dict_matrix():
P = []
P = {}
R = rand(STATES, ACTIONS)
for a in xrange(ACTIONS):
P[a] = matrix(eye(STATES))
assert (check(P, R) == None)
def test_check_P_square_stochastic_nonnegative_dict_sparse():
P = []
P = {}
R = rand(STATES, ACTIONS)
for a in xrange(ACTIONS):
P[a] = speye(STATES, STATES).tocsr()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment