Skip to content

Commit

Permalink
Patches for @cdk.bug #3524092 and #3524093
Browse files Browse the repository at this point in the history
  • Loading branch information
danielszisz authored and egonw committed Jun 13, 2012
1 parent fbfab7b commit ec6d92d
Showing 1 changed file with 4 additions and 2 deletions.
Expand Up @@ -248,7 +248,8 @@ private void setBond() throws Exception {
} catch (NumberFormatException nfe) {
throw new IOException("setBond: Malformed Number due to:"+nfe);
}
key = "bond" + scode + ";" + sid1 + ";" + sid2;
// key = "bond" + scode + ";" + sid1 + ";" + sid2;
key = "bond" + sid1 + ";" + sid2;
parameterSet.put(key, data);
}

Expand Down Expand Up @@ -280,7 +281,8 @@ private void setAngle() throws Exception {
data.add(new Double(va3));
data.add(new Double(va4));

key = "angle" + scode + ";" + sid1 + ";" + sid2 + ";" + sid3;
// key = "angle" + scode + ";" + sid1 + ";" + sid2 + ";" + sid3;
key = "angle" + sid1 + ";" + sid2 + ";" + sid3;
if (parameterSet.containsKey(key)) {
data = (Vector) parameterSet.get(key);
data.add(new Double(va1));
Expand Down

0 comments on commit ec6d92d

Please sign in to comment.