Skip to content

Commit 68dc317

Browse files
committed
Fix maybeCrossed in LayoutRefiner
1 parent 6ace008 commit 68dc317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/sdg/src/main/java/org/openscience/cdk/layout/LayoutRefiner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ List<AtomPair> findCongestedPairs() {
200200
Set<IntTuple> ringpairs = new HashSet<>();
201201

202202
// score at which to check for crossing bonds
203-
final double maybeCrossed = 1 / (2 * 2);
203+
final double maybeCrossed = 1.0 / (2 * 2);
204204

205205
final int numAtoms = mol.getAtomCount();
206206
for (int u = 0; u < numAtoms; u++) {

0 commit comments

Comments
 (0)