| 1 |
Descriptionscip-debian debian golang-github-badgerodon-collections 0.0~git20130729.604e922-4 golang-github-badgerodon-collections/patches/`00grid.patch`#Description.: Delete useless blank identifier. |
| 2 |
Authorscip-debian debian golang-github-badgerodon-collections 0.0~git20130729.604e922-4 golang-github-badgerodon-collections/patches/`00grid.patch`#Author.: Dawid Dziurla <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
|
| 4 |
Index: golang-github-badgerodon-collections/grid/grid.goscip-debian debian golang-github-badgerodon-collections 0.0~git20130729.604e922-4 golang-github-badgerodon-collections/upstream/`golang-github-badgerodon-collections/grid/grid.go`: |
| 5 |
=================================================================== |
| 6 |
--- golang-github-badgerodon-collections.orig/grid/grid.goscip-debian debian golang-github-badgerodon-collections 0.0~git20130729.604e922-4 golang-github-badgerodon-collections/upstream/`golang-github-badgerodon-collections.orig/grid/grid.go`: |
| 7 |
+++ golang-github-badgerodon-collections/grid/grid.go |
| 8 |
@@ -31,7 +31,7 @@ func (this *Grid) Get(p Point) interface |
| 9 |
if p.X < 0 || p.Y < 0 || p.X >= this.cols || p.Y >= this.rows { |
| 10 |
return nil |
| 11 |
} |
| 12 |
|
| 13 |
+ v := this.values[p.X*this.cols+p.Y] |
| 14 |
return v |
| 15 |
} |
| 16 |
|