summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dat.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dat.go b/dat.go
index b01fa66..042d848 100644
--- a/dat.go
+++ b/dat.go
@@ -64,8 +64,8 @@ func Parse(r io.Reader) [][][]float64 {
patches := make([][][]float64, n)
for u, i := range indices {
patches[u] = make([][]float64, len(i))
- for v, x := range i {
- patches[u][v] = vertices[x]
+ for v, j := range i {
+ patches[u][v] = vertices[j]
}
}