Skip to content

Commit

Permalink
Fix an integer division
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Apr 26, 2017
1 parent d39191a commit 8e3f157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyKriging/samplingplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def jd(self, X,p=1):
n = np.size(X[:,1])

#computes the distances between all pairs of points
d = np.zeros((n*(n-1)/2))
d = np.zeros((n*(n-1)//2))



Expand Down

0 comments on commit 8e3f157

Please sign in to comment.