Skip to content

Commit

Permalink
Merge pull request #185 from chpicone/master
Browse files Browse the repository at this point in the history
fix issue 184
  • Loading branch information
bjornharrtell committed Jun 23, 2015
2 parents 11fa72f + 899fe9c commit 9187ccd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/jsts/geom/IntersectionMatrix.js
Expand Up @@ -192,10 +192,9 @@
*/
jsts.geom.IntersectionMatrix.prototype.set2 = function(dimensionSymbols) {
for (var i = 0; i < dimensionSymbols.length(); i++) {
var row = i / 3;
var row = Math.floor(i/3);
var col = i % 3;
this.matrix[row][col] = Dimension.toDimensionValue(dimensionSymbols
.charAt(i));
this.matrix[row][col] = Dimension.toDimensionValue(dimensionSymbols.charAt(i));
}
};

Expand Down

0 comments on commit 9187ccd

Please sign in to comment.