@ -246,7 +246,7 @@
"metadata": {},
"outputs": [],
"source": [
"Q = np.ones((width,height,len(actions)),dtype=np.float)*1.0/len(actions)"
"Q = np.ones((width,height,len(actions)),dtype=np.float64)*1.0/len(actions)"
]
},
{
@ -264,7 +264,7 @@
@ -209,7 +209,7 @@
"def discretize(x):\n",
" return tuple((x/np.array([0.25, 0.25, 0.01, 0.1])).astype(np.int))"
" return tuple((x/np.array([0.25, 0.25, 0.01, 0.1])).astype(np.int_))"