diff --git a/scripts/run_experiments.jl b/scripts/run_experiments.jl index 08fac743f482c4a8bab0bc7e5236354df5e333c9..51fbb7fade45e357132b2b3ff986988ca8fa152d 100644 --- a/scripts/run_experiments.jl +++ b/scripts/run_experiments.jl @@ -1452,15 +1452,11 @@ function inpaint(ctx) # manually mark all cell within inpainting domain, since the # estimator is not reliable there - if !hasproperty(ctx.params, :estimator) || ctx.params.estimator != :primal_dual - # The primal-dual estimator seems reliable inside the - # inpainting domain - for cell in cells(mesh) - bind!(st.tdata, cell) - maskv = evaluate(st.tdata, SA[1/3, 1/3]) - if abs(maskv[begin] - 1.) > 1e-8 - push!(marked_cells, cell) - end + for cell in cells(mesh) + bind!(st.tdata, cell) + maskv = evaluate(st.tdata, SA[1/3, 1/3]) + if abs(maskv[begin] - 1.) > 1e-8 + push!(marked_cells, cell) end end #marked_cells = Set(axes(mesh.cells, 2))