aboutsummaryrefslogtreecommitdiff
path: root/src/geoptimiser.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 /src/geoptimiser.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 'src/geoptimiser.c')
-rw-r--r--src/geoptimiser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/geoptimiser.c b/src/geoptimiser.c
index 24a159de..f28e9551 100644
--- a/src/geoptimiser.c
+++ b/src/geoptimiser.c
@@ -1074,7 +1074,7 @@ static DataTemplate *correct_rotation_and_stretch(struct rg_collection *connecte
struct geoptimiser_params *gparams)
{
#if 0
- /* FIXME ! */
+ /* FIXME (GitLab #29) */
int di, ip;
STATUS("Applying rotation and stretch corrections.\n");
@@ -1392,7 +1392,7 @@ static void correct_shift(struct rg_collection *connected,
double clen_to_use)
{
#if 0
- /* FIXME ! */
+ /* FIXME (GitLab #29) */
int di;
int ip;
@@ -1585,7 +1585,7 @@ static double compute_rotation_and_stretch(struct rg_collection *connected,
num_pix_first_p = first_p->w * first_p->h;
- /* FIXME: minrad here is not universal */
+ /* FIXME: minrad here is not universal (GitLab #29) */
min_dist = dist_coeff_for_rot_str * sqrt(num_pix_first_p
* connected->rigid_groups[di]->n_panels);