Skip to content

Commit 104be29

Browse files
authored
Update BuildingShapeUtils.js
1 parent 439ca72 commit 104be29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extras/BuildingShapeUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ class BuildingShapeUtils extends ShapeUtils {
367367
const intersection = (point[1] - intercept) / slope;
368368
if (intersection > point[0]) {
369369
count++;
370-
} else if (intersection == point[0]) {
370+
} else if (intersection === point[0]) {
371371
return true;
372372
}
373373
}

0 commit comments

Comments
 (0)