Skip to content

Commit

Permalink
Made updates for Julia v1
Browse files Browse the repository at this point in the history
  • Loading branch information
fairbrot committed Oct 1, 2018
1 parent fd2d591 commit c0402f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions REQUIRE
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
julia 0.7 1.0
julia 1.0
Optim 0.16.0
PDMats 0.9.4
Distributions 0.16.2
Distances 0.7.3
ScikitLearnBase 0.4.0
RecipesBase 0.5.0 0.6
RecipesBase 0.6
FastGaussQuadrature 0.3.1
StatsFuns 0.7.0
SpecialFunctions 0.7.0
Expand Down
6 changes: 3 additions & 3 deletions src/plot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@assert gp.dim (1,2)
if gp.dim == 1
xlims --> (minimum(gp.x), maximum(gp.x))
xmin, xmax = d[:xlims]
xmin, xmax = plotattributes[:xlims]
x = range(xmin, stop=xmax, length=100)
μ, Σ = predict_f(gp, x)
y = μ
Expand All @@ -32,8 +32,8 @@
else
xlims --> (minimum(gp.x[1,:]), maximum(gp.x[1,:]))
ylims --> (minimum(gp.x[2,:]), maximum(gp.x[2,:]))
xmin, xmax = d[:xlims]
ymin, ymax = d[:ylims]
xmin, xmax = plotattributes[:xlims]
ymin, ymax = plotattributes[:ylims]
x = range(xmin, stop=xmax, length=50)
y = range(ymin, stop=ymax, length=50)
xgrid = repeat(x', 50, 1)
Expand Down

0 comments on commit c0402f0

Please sign in to comment.