Skip to content

Commit 0f4a30e

Browse files
authored
Update VBMicrolensingLibrary.cpp
1 parent d59590e commit 0f4a30e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

VBMicrolensing/lib/VBMicrolensingLibrary.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4416,6 +4416,7 @@ void VBMicrolensing::BinaryLightCurveKepler(double* pr, double* ts, double* mags
44164416
//coY2 = w2 * (-szs2 * w12 + 2 * szs*w1*w3 - w23 + ar * (-4 * szs*w1*w3 + szs2 * (w12 - w33) + (-w11 + w23)));
44174417
for (int i = 0; i < np; i++) {
44184418
ComputeParallax(ts[i], t0, Et);
4419+
M = n * (ts[i] - tperi);
44194420
while (M > M_PI) M -= 2 * M_PI;
44204421
while (M < -M_PI) M += 2 * M_PI;
44214422
EE = M + e * sin(M);

0 commit comments

Comments
 (0)