From 5ce615815fa3b7046751480d6eb4385cd8a2e64c Mon Sep 17 00:00:00 2001 From: Leo Tenenbaum Date: Mon, 10 Jun 2019 20:16:53 -0400 Subject: Made workInfo public --- autodistortion/autodistortion.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autodistortion/autodistortion.go b/autodistortion/autodistortion.go index c821d87..6a12e58 100644 --- a/autodistortion/autodistortion.go +++ b/autodistortion/autodistortion.go @@ -83,7 +83,7 @@ func Distort(img image.Image, functionLen int, nThreads int) image.Image { return rgba } - info := workInfo{img, xfunction, yfunction} + info := WorkInfo{img, xfunction, yfunction} // Make a slice of pixels (image.RGBA.Set isn't thread safe ): ) pixels := make([][]color.RGBA, height) -- cgit v1.2.3