Commit 83bb6e05 authored by David Keitel's avatar David Keitel
Browse files

Merge branch 'minor_fix' into 'master'

HeterodynedPulsarModel: fix minor bug in if statement

See merge request lscsoft/lalsuite!1394
parents f068099f 158faf28
......@@ -284,7 +284,7 @@ REAL8Vector *XLALHeterodynedPulsarPhaseDifference( PulsarParameters *params,
}
/* get change in phase from glitches */
if ( glphase != NULL && fixglph != NULL ){ deltaphi += (glph->data[i] - fixglph->data[i]); }
if ( glph != NULL && fixglph != NULL ){ deltaphi += (glph->data[i] - fixglph->data[i]); }
else if ( fixglph != NULL ){ deltaphi += fixglph->data[i]; }
/* get change in phase from FITWAVES parameters */
......
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