diff options
Diffstat (limited to 'vendor/github.com/disintegration/imaging/histogram.go')
-rw-r--r-- | vendor/github.com/disintegration/imaging/histogram.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/disintegration/imaging/histogram.go b/vendor/github.com/disintegration/imaging/histogram.go index aef333822..3afcb7ae2 100644 --- a/vendor/github.com/disintegration/imaging/histogram.go +++ b/vendor/github.com/disintegration/imaging/histogram.go @@ -17,7 +17,7 @@ func Histogram(img image.Image) [256]float64 { var total float64 if width == 0 || height == 0 { - return histogram + return histogram } for y := 0; y < height; y++ { |