Skip to content

HierarchicalSearch.c: initialise usefulParams.dFreqStack before calling SetUpSFTs()

Description

SetUpSFTs() needs usefulParams.dFreqStack initialised so that it can pass it to XLALCreateFstatInput() (as in->dFreqStack). However, usefulParams.dFreqStack is only initialised after SetUpSFTs() is called.

This MR moves the usefulParams.dFreqStack initialisation before the SetUpSFTs() call.

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

Merge request reports