Commit cb185ab8 authored by John Douglas Veitch's avatar John Douglas Veitch
Browse files

Put lalinference module into pylal

Original: a645bd2bde251f4f38bb8a9487ec2837270a147f
parent 03db9f19
#opt/lscsoft/lalinspiral/bin
opt/lscsoft/lalinspiral/include
opt/lscsoft/lalinspiral/lib/pkgconfig
#opt/lscsoft/lalinspiral/share/lal
#opt/lscsoft/lalinspiral/share/man/man1
#opt/lscsoft/lalinspiral/share/man/man3
opt/lscsoft/lalinspiral/include/lal*
opt/lscsoft/lalinspiral/lib/*a
opt/lscsoft/lalinspiral/lib/pkgconfig
#opt/lscsoft/lalinspiral/share/lal
#opt/lscsoft/lalinspiral/bin
opt/lscsoft/lalinspiral/etc
opt/lscsoft/lalinspiral/lib
#opt/lscsoft/lalinspiral/sbin
opt/lscsoft/lalinspiral/share
#opt/lscsoft/lalinspiral/bin/lal-version
opt/lscsoft/lalinspiral/etc/*
#opt/lscsoft/lalinspiral/etc/*-user-env.*
opt/lscsoft/lalinspiral/lib/*.so*
#opt/lscsoft/lalinspiral/share/lal
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "LALInference.h" #include <lal/LALInference.h>
#include <lal/DetResponse.h> #include <lal/DetResponse.h>
#include <lal/TimeDelay.h> #include <lal/TimeDelay.h>
#include <lal/TimeSeries.h> #include <lal/TimeSeries.h>
...@@ -33,6 +33,12 @@ ...@@ -33,6 +33,12 @@
#include <lal/Date.h> #include <lal/Date.h>
#include <lal/Sequence.h> #include <lal/Sequence.h>
#ifdef __GNUC__
#define UNUSED __attribute__ ((unused))
#else
#define UNUSED
#endif
size_t typeSize[] = {sizeof(INT4), size_t typeSize[] = {sizeof(INT4),
sizeof(INT8), sizeof(INT8),
sizeof(UINT4), sizeof(UINT4),
...@@ -346,7 +352,7 @@ void printVariables(LALVariables *var) ...@@ -346,7 +352,7 @@ void printVariables(LALVariables *var)
fprintf(stdout, "%d", *(INT4 *) ptr->value); fprintf(stdout, "%d", *(INT4 *) ptr->value);
break; break;
case INT8_t: case INT8_t:
fprintf(stdout, "%lld", *(INT8 *) ptr->value); fprintf(stdout, "%ld", *(INT8 *) ptr->value);
break; break;
case UINT4_t: case UINT4_t:
fprintf(stdout, "%ud", *(UINT4 *) ptr->value); fprintf(stdout, "%ud", *(UINT4 *) ptr->value);
...@@ -388,7 +394,7 @@ void fprintSample(FILE *fp,LALVariables *sample){ ...@@ -388,7 +394,7 @@ void fprintSample(FILE *fp,LALVariables *sample){
fprintf(fp, "%d", *(INT4 *) ptr->value); fprintf(fp, "%d", *(INT4 *) ptr->value);
break; break;
case INT8_t: case INT8_t:
fprintf(fp, "%lld", *(INT8 *) ptr->value); fprintf(fp, "%ld", *(INT8 *) ptr->value);
break; break;
case UINT4_t: case UINT4_t:
fprintf(fp, "%ud", *(UINT4 *) ptr->value); fprintf(fp, "%ud", *(UINT4 *) ptr->value);
...@@ -431,7 +437,7 @@ void fprintSampleNonFixed(FILE *fp,LALVariables *sample){ ...@@ -431,7 +437,7 @@ void fprintSampleNonFixed(FILE *fp,LALVariables *sample){
fprintf(fp, "%d", *(INT4 *) ptr->value); fprintf(fp, "%d", *(INT4 *) ptr->value);
break; break;
case INT8_t: case INT8_t:
fprintf(fp, "%lld", *(INT8 *) ptr->value); fprintf(fp, "%ld", *(INT8 *) ptr->value);
break; break;
case UINT4_t: case UINT4_t:
fprintf(fp, "%ud", *(UINT4 *) ptr->value); fprintf(fp, "%ud", *(UINT4 *) ptr->value);
...@@ -720,7 +726,7 @@ void printCommandLine(ProcessParamsTable *procparams, char *str) ...@@ -720,7 +726,7 @@ void printCommandLine(ProcessParamsTable *procparams, char *str)
/* ============ Likelihood computations: ========== */ /* ============ Likelihood computations: ========== */
REAL8 ZeroLogLikelihood(LALVariables *currentParams, LALIFOData *data, LALTemplateFunction *template) { REAL8 ZeroLogLikelihood(LALVariables UNUSED *currentParams, LALIFOData UNUSED *data, LALTemplateFunction UNUSED *template) {
return 0.0; return 0.0;
} }
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include <stdio.h> #include <stdio.h>
#include <lal/Date.h> #include <lal/Date.h>
#include "LALInference.h" #include <lal/LALInference.h>
#include <lal/FrequencySeries.h> #include <lal/FrequencySeries.h>
#include <lal/Units.h> #include <lal/Units.h>
#include <lal/StringInput.h> #include <lal/StringInput.h>
......
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