Skip to content

Commit 4c98502

Browse files
committed
fix bug when checking for 3D coordinates
1 parent 6acc90f commit 4c98502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

descriptor/fingerprint/src/main/java/org/openscience/cdk/fingerprint/CircularFingerprinter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,7 @@ private int[] rubricTetrahedral(int aidx) {
919919
break;
920920
}
921921
if (stereo == IBond.Stereo.UP_OR_DOWN) return null; // squiggly line: definitely not
922-
Point3d o3d = atom.getPoint3d();
922+
Point3d o3d = mol.getBond(bondAdj[aidx][n]).getOther(atom).getPoint3d();
923923
if (a3d != null && o3d != null && a3d.z != o3d.z) {
924924
wedgeOr3D = true;
925925
break;

0 commit comments

Comments
 (0)