Skip to content

Commit d01b64a

Browse files
Fix deprecations
1 parent 816bda7 commit d01b64a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/fem_premade_problems.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,7 @@ prob_femheat_diffuse = HeatProblem(analytic_diffuse,Du,f,mesh)
7070

7171

7272
f = (t,x) -> zeros(size(x,1))
73-
if VERSION < v"0.6.0-dev.1820"
74-
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
75-
else
76-
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
77-
end
73+
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
7874
tspan = (0.0,1/2^(5))
7975
dx = 1//2^(3)
8076
dt = 1//2^(9)

0 commit comments

Comments
 (0)