Commit a5118ee4 authored by Daniel Brown's avatar Daniel Brown

Typo fixing

parent 55e4202f
......@@ -98,7 +98,7 @@ double mismatch(complex_t q1, complex_t q2) {
result = 4.0 * fabs(q1.im * q2.im) / (abs_t1 * abs_t1);
}
assert((result >= 0 && result <=1) || isnan(result));
assert((result >= 0 && result <=(1+1e-15)) || isnan(result));
return 1- result;
}
......
......@@ -188,15 +188,19 @@ void compute_mirror_bayer_helms_knm(mirror_t *mirror, double nr1, double nr2) {
, mirror->knm_q.qyt1_12
, mirror->knm_q.qxt2_12
, mirror->knm_q.qyt2_12
, knm_BH->k12, nr1/nr2*BETA_SCALE * mirror->beta_x, -nr1/nr2*BETA_SCALE * mirror->beta_y
, nr2, MR12, mirror->knm_flags);
, knm_BH->k12
, nr1/nr2*BETA_SCALE * mirror->beta_x
, -nr1/nr2*BETA_SCALE * mirror->beta_y
, nr2, MR12, mirror->knm_flags);
_mirror_compute_bayer_helms_sub_call(mirror->knm_q.qxt1_21
, mirror->knm_q.qyt1_21
, mirror->knm_q.qxt2_21
, mirror->knm_q.qyt2_21
, knm_BH->k21, knm_BH->k12, nr2/nr1*BETA_SCALE * mirror->beta_x, nr2/nr1* BETA_SCALE * mirror->beta_y
, nr1, MR21, mirror->knm_flags);
, knm_BH->k21
, nr2/nr1*BETA_SCALE * mirror->beta_x
, nr2/nr1* BETA_SCALE * mirror->beta_y
, nr1, MR21, mirror->knm_flags);
}
}
......
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