further instances of np.float removed

This commit is contained in:
Fabian Joswig 2021-10-12 14:12:21 +01:00
parent ef35dd8684
commit cddf6ddf6b
3 changed files with 5 additions and 5 deletions

View file

@ -71,7 +71,7 @@ def ks_test(obs=None):
plt.ylabel('Cumulative probability')
plt.title(str(bins) + ' Q values')
n = np.arange(1, bins + 1) / np.float(bins)
n = np.arange(1, bins + 1) / np.float64(bins)
Xs = np.sort(Qs)
plt.step(Xs, n)
diffs = n - Xs