Commit 61eb8f43 authored by Daniel Wysocki's avatar Daniel Wysocki Committed by Leslie Wade
Browse files

Fixing pointer issue

Accidentally passed pressure to `XLALSimNeutronStarTOVODEIntegrate` as a pointer (for output), rather than as a value (for input).  This is corrected in the commit.
parent fc7a0b85
......@@ -2457,7 +2457,7 @@ double dlogp = (logpmax - logpmin) / 100;
// Need at least 4 points
for (int i = 0; i < 4; ++i) {
pdat = exp(logpmin + i * dlogp);
XLALSimNeutronStarTOVODEIntegrate(&rdat, &mdat, &kdat, &pdat, eos);
XLALSimNeutronStarTOVODEIntegrate(&rdat, &mdat, &kdat, pdat, eos);
/* determine if maximum mass has been found */
if (mdat <= mdat_prev){
fprintf(stdout,"EOS has too few points. Sample rejected.\n");
......
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