Skip to content

Additional NULL pointer checks for LALPulsar Hough codes

Karl Wette requested to merge ANU-CGA/lalsuite:hough-null-pointer-checks into master

Description

Adds some additional NULL pointer checks to lalpulsar/bin/Hough/DriveHoughMulti.c, lalpulsar/lib/Peak2PHMD.c, and lalpulsar/lib/ConstructPLUT.c. With these checks, the additional per-loop NULL checks (which don't make sense for contiguous arrays) can be safely removed per !1970 (merged).

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

cc @david-keitel @rodrigo.tenorio

Edited by Karl Wette

Merge request reports

Loading