Skip to content

Commit

Permalink
divide by a float not an integer
Browse files Browse the repository at this point in the history
fixes bug: 3210
  • Loading branch information
jonalv committed Jun 5, 2012
1 parent 4a81e15 commit b7bf20b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -338,7 +338,7 @@ public boolean hasNext() {
}

public ICDKMolecule next() {
if ( pos % (size/100) == 0 ) {
if ( pos % (size/100.0) == 0 ) {
synchronized ( monitor ) {
if (monitor.isCanceled()) {
throw new OperationCanceledException();
Expand Down

0 comments on commit b7bf20b

Please sign in to comment.