fixed typo, thanks liuben
This commit is contained in:
parent
2d612957ed
commit
f725c68998
|
@ -77,5 +77,4 @@ License
|
|||
=======
|
||||
|
||||
Copyright (c) 2012 Jan Schlicht <janschlicht@gmail.com>
|
||||
This software is released unter the ISC license.
|
||||
The license text is at <http://www.isc.org/software/license>
|
||||
Resize is released under an MIT style license.
|
||||
|
|
|
@ -104,7 +104,7 @@ func Resize(w int, h int, img image.Image, interp InterpolationFunction) image.I
|
|||
}
|
||||
}
|
||||
c <- 1
|
||||
}(image.Rect(b.Min.X, b.Min.Y+i*(b.Dy())/4, b.Max.X, b.Min.Y+(i+1)*(b.Dy())/4), c)
|
||||
}(image.Rect(b.Min.X, b.Min.Y+i*(b.Dy())/NCPU, b.Max.X, b.Min.Y+(i+1)*(b.Dy())/NCPU), c)
|
||||
}
|
||||
|
||||
for i := 0; i < NCPU; i++ {
|
||||
|
|
Loading…
Reference in New Issue
Block a user