Skip to content

XLALcorrect_phase(): replace warning with info message

Description

The function XLALcorrect_phase() is part of the CW signal generation codes in LALPulsar. It currently prints a warning (with XLALPrintWarning()) when a phase correction is required, which isn't really a "warning" (in the sense that something is potentially wrong). These warnings make output rather verbose if using LAL_DEBUG_LEVEL=msglvl2 with e.g. lalpulsar_Makefakedata_v5.

This MR replaces the warning with an info message (printed with XLALPrintInfo()) which won't appear unless one uses LAL_DEBUG_LEVEL=msglvl3.

API Changes and Justification

Backwards Compatible Changes

  • This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions
  • This change adds new classes/functions/structs/types to a public C header file or Python module

Backwards Incompatible Changes

  • This change modifies an existing class/function/struct/type definition in a public C header file or Python module
  • This change removes an existing class/function/struct/type from a public C header file or Python module

Review Status

n/a

Merge request reports