fix BL segfault

parent da5a2059
......@@ -364,7 +364,7 @@ int main(int argc, char *argv[])
/*Allow use to increase max number f lines for bayesline burnin*/
if(LALInferenceGetProcParamVal(runState->commandLine,"--max-BL-lines"))
maxBLLines=atoi((LALInferenceGetProcParamVal(runState->commandLine,"--max-BL-lines"))->value);
fprintf(stdout,"Setting maximum number of BL lines to %d for IFO %s\n", maxBLLines);
fprintf(stdout,"Setting maximum number of BL lines to %d\n", maxBLLines);
/*
Setup BayesLine structure
......
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