Commit 3d6f05a8 authored by Steven Cordwell's avatar Steven Cordwell
Browse files


parent 41f8f29b
......@@ -583,7 +583,7 @@ def exampleRand(S, A, is_sparse=False, mask=None):
reward = 2*rand(n) - ones(n)
for x in xrange(n):
PP[rows[x], cols[x]] = vals[x]
RR[rows[x], cols[x]] = reward[n]
RR[rows[x], cols[x]] = reward[x]
P[a] = PP.tocsr()
R[a] = RR.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