Commit 9b6116da authored by Daniel Brown's avatar Daniel Brown

change minus sign

parent 5931d96d
......@@ -189,14 +189,14 @@ void compute_mirror_bayer_helms_knm(mirror_t *mirror, double nr1, double nr2) {
, mirror->knm_flags);
}
if (CALC_MR_KNM(mirror,12) && CALC_MR_KNM(mirror,21)) {
if (CALC_MR_KNM(mirror, 12) && CALC_MR_KNM(mirror, 21)) {
_mirror_compute_bayer_helms_sub_call(mirror->knm_q.qxt1_12
, mirror->knm_q.qyt1_12
, mirror->knm_q.qxt2_12
, mirror->knm_q.qyt2_12
, knm_BH->k12
, (1 - nr1/nr2) * mirror->beta_x
, (1 - nr1/nr2) * mirror->beta_y
, -(1 - nr1/nr2) * mirror->beta_x
, -(1 - nr1/nr2) * mirror->beta_y
, nr2
, MR12
, mirror->knm_flags);
......@@ -206,8 +206,8 @@ void compute_mirror_bayer_helms_knm(mirror_t *mirror, double nr1, double nr2) {
, mirror->knm_q.qxt2_21
, mirror->knm_q.qyt2_21
, knm_BH->k21
, (1 - nr2/nr1) * mirror->beta_x
, (1 - nr2/nr1) * mirror->beta_y
, -(1 - nr2/nr1) * mirror->beta_x
, -(1 - nr2/nr1) * 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