From 8fb35255a8f82a70a28c10de383455d81cd19269 Mon Sep 17 00:00:00 2001
From: Stephan Hilb <stephan@ecshi.net>
Date: Fri, 6 May 2022 11:39:04 +0200
Subject: [PATCH] fix maxflow -> _maxflow not being public API yet

---
 scripts/run_experiments.jl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/run_experiments.jl b/scripts/run_experiments.jl
index 70dd2da..27ee90f 100644
--- a/scripts/run_experiments.jl
+++ b/scripts/run_experiments.jl
@@ -1594,7 +1594,7 @@ function experiment_optflow_middlebury(ctx)
     imgf0 = loadimg(joinpath(ctx.indir, "frame10.png"))
     imgf1 = loadimg(joinpath(ctx.indir, "frame11.png"))
     gtflow = FileIO.load(joinpath(ctx.indir, "flow10.flo"))
-    maxflow = OpticalFlowUtils.maxflow(gtflow)
+    maxflow = OpticalFlowUtils._maxflow(gtflow)
 
     ctx = Util.Context(ctx; imgf0, imgf1, maxflow)
     saveimg(joinpath(ctx.outdir, "ground_truth.png"), colorflow(gtflow; maxflow))
-- 
GitLab