Skip to content

Commit

Permalink
Fixing space group number to Laue Ops instance edge-case bug. (#929)
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Kleingers <joey.kleingers@bluequartz.net>
  • Loading branch information
joeykleingers committed Feb 12, 2020
1 parent 3de46b6 commit d26a18c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/OrientationLib/LaueOps/LaueOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ LaueOps::Pointer LaueOps::getOrientationOpsFromSpaceGroupNumber(size_t sgNumber)
std::array<size_t, 32> sgpg = {1, 2, 3, 6, 10, 16, 25, 47, 75, 81, 83, 89, 99, 111, 123, 143, 147, 149, 156, 162, 168, 174, 175, 177, 183, 187, 191, 195, 200, 207, 215, 221};
std::array<size_t, 32> pgLaue = {1, 1, 2, 2, 2, 22, 22, 22, 4, 4, 4, 42, 42, 42, 42, 3, 3, 32, 32, 32, 6, 6, 6, 62, 62, 62, 62, 23, 23, 43, 43, 43};

size_t pgNumber = 0;
size_t pgNumber = sgpg.size() - 1;
for(size_t i = 0; i < sgpg.size(); i++)
{
if(sgpg[i] > sgNumber)
Expand Down

0 comments on commit d26a18c

Please sign in to comment.