Skip to content

Commit

Permalink
Slight tweak to new wedging rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmay committed Apr 25, 2017
1 parent dfcf142 commit c5d8f92
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -498,8 +498,8 @@ boolean hasPriority(int focus, int i, int j) {
int jElem = jAtom.getAtomicNumber();

// rank carbon's last
if (iElem == 6) iElem = 256;
if (jElem == 6) jElem = 256;
if (iElem == 6 && iDegree >= jDegree) iElem = 256;
if (jElem == 6 && jDegree >= iDegree) jElem = 256;

// prioritise by atomic number, H < N < O < ... < C
if (iElem < jElem)
Expand Down

0 comments on commit c5d8f92

Please sign in to comment.