Commit 063359b9 authored by Steven Cordwell's avatar Steven Cordwell
Browse files

fix using print() instead of return() in __repr__

parent a7da46aa
......@@ -194,7 +194,7 @@ class MDP(object):
for aa in range(self.A):
P_repr += repr(self.P[aa]) + "\n"
R_repr += repr(self.R[aa]) + "\n"
print(P_repr + "\n" + R_repr)
return(P_repr + "\n" + R_repr)
def _bellmanOperator(self, V=None):
# Apply the Bellman operator on the value function.
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