Commit 34a75931 authored by John Douglas Veitch's avatar John Douglas Veitch
Browse files

LALInference: Make dependent on LALBurst

Original: 4d499bdc586f5fb8a99973f4d012f0a4aea66a25
parent fa7eee73
...@@ -63,6 +63,7 @@ LALSUITE_ENABLE_LALFRAME ...@@ -63,6 +63,7 @@ LALSUITE_ENABLE_LALFRAME
LALSUITE_ENABLE_LALMETAIO LALSUITE_ENABLE_LALMETAIO
LALSUITE_ENABLE_LALINSPIRAL LALSUITE_ENABLE_LALINSPIRAL
LALSUITE_ENABLE_LALPULSAR LALSUITE_ENABLE_LALPULSAR
LALSUITE_ENABLE_LALBURST
LALSUITE_ENABLE_LALXML LALSUITE_ENABLE_LALXML
# enable SWIG wrapping modules # enable SWIG wrapping modules
...@@ -172,6 +173,7 @@ LALSUITE_CHECK_LIB([LALFrame],[1.3.0],[LALFrOpen],[lal/LALFrameL.h]) ...@@ -172,6 +173,7 @@ LALSUITE_CHECK_LIB([LALFrame],[1.3.0],[LALFrOpen],[lal/LALFrameL.h])
LALSUITE_CHECK_LIB([LALSimulation],[1.4.0],[XLALSimDetectorStrainREAL8TimeSeries],[lal/LALSimulation.h]) LALSUITE_CHECK_LIB([LALSimulation],[1.4.0],[XLALSimDetectorStrainREAL8TimeSeries],[lal/LALSimulation.h])
LALSUITE_CHECK_LIB([LALInspiral],[1.7.0],[LALInspiralParameterCalc],[lal/LALInspiral.h]) LALSUITE_CHECK_LIB([LALInspiral],[1.7.0],[LALInspiralParameterCalc],[lal/LALInspiral.h])
LALSUITE_CHECK_LIB([LALPulsar],[1.12.0],[XLALComputeFstat],[lal/ComputeFstat.h]) LALSUITE_CHECK_LIB([LALPulsar],[1.12.0],[XLALComputeFstat],[lal/ComputeFstat.h])
LALSUITE_CHECK_LIB([LALBurst],[1.4.0],[XLALEPSearch],[lal/EPSearch.h])
# check for lalxml # check for lalxml
LALSUITE_CHECK_OPT_LIB([LALXML],[1.2.0],[XLALXMLFilePrintElements],[lal/LALXML.h]) LALSUITE_CHECK_OPT_LIB([LALXML],[1.2.0],[XLALXMLFilePrintElements],[lal/LALXML.h])
......
...@@ -1708,21 +1708,12 @@ REAL8 LALInferenceSkyRingProposal(LALInferenceThreadState *thread, ...@@ -1708,21 +1708,12 @@ REAL8 LALInferenceSkyRingProposal(LALInferenceThreadState *thread,
REAL8 pForward, pReverse; REAL8 pForward, pReverse;
REAL8 n[3]; REAL8 n[3];
REAL8 kp[3]; REAL8 kp[3];
DistanceParam distParam;
LIGOTimeGPS GPSlal, *epoch; LIGOTimeGPS GPSlal, *epoch;
LALDetector *detectors; LALDetector *detectors;
gsl_matrix *IFO; gsl_matrix *IFO;
if (LALInferenceCheckVariable(currentParams, "distance")) {
distParam = USES_DISTANCE_VARIABLE;
} else if (LALInferenceCheckVariable(currentParams, "logdistance")) {
distParam = USES_LOG_DISTANCE_VARIABLE;
} else {
XLAL_ERROR_REAL8(XLAL_FAILURE, "could not find 'distance' or 'logdistance' in current params");
}
LALInferenceCopyVariables(currentParams, proposedParams); LALInferenceCopyVariables(currentParams, proposedParams);
LALInferenceVariables *args = thread->proposalArgs; LALInferenceVariables *args = thread->proposalArgs;
......
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