Skip to content

Commit

Permalink
Merge pull request #12 from JuliaDiffEq/fbot/deps
Browse files Browse the repository at this point in the history
Fix deprecations
  • Loading branch information
ChrisRackauckas authored Aug 23, 2017
2 parents 816bda7 + d01b64a commit f8301ea
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/fem_premade_problems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,7 @@ prob_femheat_diffuse = HeatProblem(analytic_diffuse,Du,f,mesh)


f = (t,x) -> zeros(size(x,1))
if VERSION < v"0.6.0-dev.1820"
u0_func = (x) -> float((abs.(x[:,1]-.5) .< 1e-6) & (abs.(x[:,2]-.5) .< 1e-6)) #Only mass at middle of (0.0,1.0)^2
else
u0_func = (x) -> float((abs.(x[:,1]-.5) .< 1e-6) .& (abs.(x[:,2]-.5) .< 1e-6)) #Only mass at middle of (0.0,1.0)^2
end
u0_func = (x) -> float((abs.(x[:,1]-.5) .< 1e-6) .& (abs.(x[:,2]-.5) .< 1e-6)) #Only mass at middle of (0.0,1.0)^2
tspan = (0.0,1/2^(5))
dx = 1//2^(3)
dt = 1//2^(9)
Expand Down

0 comments on commit f8301ea

Please sign in to comment.