-
Notifications
You must be signed in to change notification settings - Fork 250
Open
Milestone
Description
bioformats/components/formats-gpl/src/loci/formats/in/FV1000Reader.java
Lines 1348 to 1349 in 0a895ae
double rx = width / 2; | |
double ry = shapeType == CIRCLE ? rx : height / 2; |
Since width and height are ints, the equation is done with Integer accuracy and not Double accuracy.
To get Double accuracy from the equations, a double cast is needed
Maybe
double rx = (double) width / 2;
double ry = shapeType == CIRCLE ? rx : (double) height / 2;
Metadata
Metadata
Assignees
Labels
No labels