aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/cell-utils.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-05-17 11:37:21 +0200
committerThomas White <taw@physics.org>2021-05-17 11:52:42 +0200
commit6026a3eaf235b59671ac2437e0c9a4fa8878b856 (patch)
treee68feddd893f3e8e67bc297fdc9d9ce2fbb7be4e /libcrystfel/src/cell-utils.c
parentaffdfe20be27586a65b4db483f04481008ae63fe (diff)
Resolve FIXMEs and TODOs
Prompted by the article linked below, for each FIXME/TODO I've either referenced an issue in the tracker, or removed it if it's not worth fixing. https://schleiss.io/plotting-source-code-todos-for-open-source-projects
Diffstat (limited to 'libcrystfel/src/cell-utils.c')
-rw-r--r--libcrystfel/src/cell-utils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c
index 31ba9d35..30744bd4 100644
--- a/libcrystfel/src/cell-utils.c
+++ b/libcrystfel/src/cell-utils.c
@@ -1332,8 +1332,7 @@ double lowest_reflection(UnitCell *cell)
signed int h, k, l;
double lowres = INFINITY;
- /* FIXME: Inelegant and nasty. Anyone want to work out
- * all the possible cases? */
+ /* Boring brute-force approach */
for ( h=0; h<4; h++ ) {
for ( k=0; k<4; k++ ) {
for ( l=0; l<4; l++ ) {