diff --git a/src/parameters/parameters_inits.jl b/src/parameters/parameters_inits.jl index 214546531..7d380787f 100644 --- a/src/parameters/parameters_inits.jl +++ b/src/parameters/parameters_inits.jl @@ -349,7 +349,7 @@ function Base.setproperty!(parameters_build::FUSEparameters__build{T}, field::Sy layer.thickness = thickness # type - if occursin("OH", uppercase(layer.name)) && occursin("hfs", lowercase(layer.name)) && !occursin("gap ", lowercase(layer.name)) + if occursin("OH", uppercase(layer.name)) && occursin("hfs", lowercase(layer.name)) layer.type = :oh elseif occursin("gap ", lowercase(layer.name)) layer.type = :gap