Fix deprecations (#206)

This commit is contained in:
femtocleaner[bot]
2018-07-05 11:21:10 +03:00
committed by Jukka Aho
parent 86fdc59f20
commit a8a3e0b46e
12 changed files with 51 additions and 49 deletions
+2 -2
View File
@@ -10,11 +10,11 @@ function PlaneStressElasticityProblem(dim::Int=2, elements=[])
return Problem{PlaneStressElasticityProblem}(dim, elements)
end
function get_unknown_field_name{P<:PlaneStressElasticityProblem}(::Type{P})
function get_unknown_field_name(::Type{P}) where P<:PlaneStressElasticityProblem
return "displacement"
end
function get_unknown_field_type{P<:PlaneStressElasticityProblem}(::Type{P})
function get_unknown_field_type(::Type{P}) where P<:PlaneStressElasticityProblem
return Vector{Float64}
end