diff options
author | ultramn <dchapm2@umbc.edu> | 2017-03-09 16:51:41 -0800 |
---|---|---|
committer | ultramn <dchapm2@umbc.edu> | 2017-03-09 16:51:41 -0800 |
commit | 9b792127fe2e2c4590b9e528dfd97e44d890d253 (patch) | |
tree | ee3358df107a9470df32e130064cf341609c8923 /dave | |
parent | 6362b6ee00ef5e394b636e2bb63d5e20c18c01f8 (diff) | |
download | libsurvive-9b792127fe2e2c4590b9e528dfd97e44d890d253.tar.gz libsurvive-9b792127fe2e2c4590b9e528dfd97e44d890d253.tar.bz2 |
fixed bug with error calculation
Diffstat (limited to 'dave')
-rw-r--r-- | dave/AffineSolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dave/AffineSolve.c b/dave/AffineSolve.c index e848ade..f29e29e 100644 --- a/dave/AffineSolve.c +++ b/dave/AffineSolve.c @@ -242,7 +242,7 @@ printf("rhat %f %f (len %f)\n", rhat[0][0], rhat[1][0], rhat_len); // Calculate the handedness FLOAT cx,cy,cz; CrossProduct(cx,cy,cz,x[0][0],x_y,x[2][0],y[0][0],y_y,y[2][0]); - FLOAT hand = cx*z[0][0] + cy*y_y + cz*z[2][0]; + FLOAT hand = cx*z[0][0] + cy*z_y + cz*z[2][0]; // printf("err %f hand %f\n", err, hand); // If we are the best right-handed frame so far |