Skip to content

Commit

Permalink
Bug fix for Box scale parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
junpeng1 committed Apr 1, 2015
1 parent 83ae519 commit 4c87d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visearch-java/src/main/java/com/visenze/visearch/Box.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ public boolean allCoordsExist() {
public Box scale(float ratio) {
return new Box(
(int) (x1 * ratio),
(int) (x2 * ratio),
(int) (y1 * ratio),
(int) (x2 * ratio),
(int) (y2 * ratio)
);
}
Expand Down

0 comments on commit 4c87d51

Please sign in to comment.