mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 03:53:41 +02:00
further instances of np.float removed
This commit is contained in:
parent
ef35dd8684
commit
cddf6ddf6b
3 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue