Commit f2449abb by maarten

fix for negative numerator

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@487 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent 4a5312a6
...@@ -156,7 +156,7 @@ int32_t GetRotationalIndexNumber(int spacegroup, const clipper::RTop_frac& rt) ...@@ -156,7 +156,7 @@ int32_t GetRotationalIndexNumber(int spacegroup, const clipper::RTop_frac& rt)
int n = lrint(trn[i] * 24); int n = lrint(trn[i] * 24);
int d = 24; int d = 24;
if (n == 0 or n == 24) if (n == 0 or abs(n) == 24)
continue; // is 0, 0 in our table continue; // is 0, 0 in our table
for (int i = 5; i > 1; --i) for (int i = 5; i > 1; --i)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment