Commit 773765e3 authored by Serguei Ossokine's avatar Serguei Ossokine Committed by Riccardo Sturani
Browse files

Make the warning more explicit

parent bbd5ba95
Pipeline #81006 passed with stages
in 98 minutes and 46 seconds
......@@ -307,7 +307,7 @@ INT4 XLALSimIMREOBFinalMassSpinPrec(
XLAL_PRINT_ERROR("Final spin fit had a large negative argument of sqrt! Aborting");
printf("Warning: in the final spin fit, argument of sqrt was negative!\n");
XLAL_PRINT_WARNING("Warning: in the final spin fit, argument of sqrt was negative. This is expected to occur due to the final spin formula used. \n");
*finalSpin = prefactor * sqrt(inside_sqrt);
// If somehow we have gone above the Kerr limit, don't.
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