Skip to content

Commit

Permalink
fix incorrect gradient array dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
harthur committed Oct 22, 2012
1 parent be20669 commit 3ae2568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion processing.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var processing = {


for (var y = 0; y < height; y++) { for (var y = 0; y < height; y++) {
gradX[y] = new Array(width); gradX[y] = new Array(width);
gradY[y] = new Array(height); gradY[y] = new Array(width);


var row = intensities[y]; var row = intensities[y];


Expand Down

0 comments on commit 3ae2568

Please sign in to comment.