mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-04 01:02:39 +02:00
fix the bug due to changes in Numpy (#744)
This commit is contained in:
parent
313fb7c07e
commit
601cc955c8
1 changed files with 1 additions and 1 deletions
|
|
@ -356,7 +356,7 @@ def x_frame1D(X,plot_limits=None,resolution=None):
|
|||
else:
|
||||
raise ValueError("Bad limits for plotting")
|
||||
|
||||
Xnew = np.linspace(xmin,xmax,resolution or 200)[:,None]
|
||||
Xnew = np.linspace(float(xmin),float(xmax),int(resolution) or 200)[:,None]
|
||||
return Xnew, xmin, xmax
|
||||
|
||||
def x_frame2D(X,plot_limits=None,resolution=None):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue