Skip to content

Commit 40985fe

Browse files
more precise version switch
1 parent 155f9e4 commit 40985fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fem_premade_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +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-"
73+
if VERSION < v"0.6.0-dev.1820"
7474
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
7575
else
7676
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

0 commit comments

Comments
 (0)