Commit e1a2ef4e authored by Jonathan Blackman's avatar Jonathan Blackman
Browse files

Fix sign when setting epoch in NRSur7dq2

parent 6d0e9ee6
......@@ -1789,7 +1789,7 @@ int XLALSimInspiralNRSur7dq2Polarizations(
// Interpolate onto output times
double t;
LIGOTimeGPS epoch = LIGOTIMEGPSZERO;
XLALGPSAdd( &epoch, -Mtot_sec * NRSUR7DQ2_START_TIME);
XLALGPSAdd( &epoch, Mtot_sec * t0);
*hplus = XLALCreateREAL8TimeSeries("hp: TD waveform", &epoch, 0.0, deltaT, &lalStrainUnit, nt);
*hcross = XLALCreateREAL8TimeSeries("hc: TD waveform", &epoch, 0.0, deltaT, &lalStrainUnit, nt);
gsl_interp_accel *acc = gsl_interp_accel_alloc();
......@@ -1926,7 +1926,7 @@ SphHarmTimeSeries *XLALSimInspiralNRSur7dq2Modes(
// Setup interpolation onto dimensionless output times
double t;
LIGOTimeGPS epoch = LIGOTIMEGPSZERO;
XLALGPSAdd( &epoch, -Mtot_sec * NRSUR7DQ2_START_TIME);
XLALGPSAdd( &epoch, Mtot_sec * t0);
gsl_interp_accel *acc = gsl_interp_accel_alloc();
// Create LAL modes
......
Supports Markdown
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