Permalink
Browse files

fix incorrect gradient array dimensions

  • Loading branch information...
1 parent be20669 commit 3ae2568bc00da982dbfb42ee6a5f6bbf17d96d2e @harthur committed Oct 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 processing.js
View
@@ -41,7 +41,7 @@ var processing = {
for (var y = 0; y < height; y++) {
gradX[y] = new Array(width);
- gradY[y] = new Array(height);
+ gradY[y] = new Array(width);
var row = intensities[y];

0 comments on commit 3ae2568

Please sign in to comment.