Skip to content
Snippets Groups Projects
Commit 8fbee5c7 authored by Colm Talbot's avatar Colm Talbot
Browse files

Fix type requirements for lalsimulation

parent aca9ee12
No related branches found
No related tags found
1 merge request!1104Fix type requirements for lalsimulation
Pipeline #395951 passed
......@@ -309,7 +309,8 @@ def _base_lal_cbc_fd_waveform(
if pn_amplitude_order != 0:
start_frequency = lalsim.SimInspiralfLow2fStart(
minimum_frequency, int(pn_amplitude_order), approximant)
float(minimum_frequency), int(pn_amplitude_order), approximant
)
else:
start_frequency = minimum_frequency
......@@ -339,9 +340,9 @@ def _base_lal_cbc_fd_waveform(
lalsim.SimInspiralWaveformParamsInsertPNAmplitudeOrder(
waveform_dictionary, int(pn_amplitude_order))
lalsim_SimInspiralWaveformParamsInsertTidalLambda1(
waveform_dictionary, lambda_1)
waveform_dictionary, float(lambda_1))
lalsim_SimInspiralWaveformParamsInsertTidalLambda2(
waveform_dictionary, lambda_2)
waveform_dictionary, float(lambda_2))
for key, value in waveform_kwargs.items():
func = getattr(lalsim, "SimInspiralWaveformParamsInsert" + key, None)
......@@ -772,9 +773,9 @@ def _base_waveform_frequency_sequence(
lalsim.SimInspiralWaveformParamsInsertPNAmplitudeOrder(
waveform_dictionary, int(pn_amplitude_order))
lalsim_SimInspiralWaveformParamsInsertTidalLambda1(
waveform_dictionary, lambda_1)
waveform_dictionary, float(lambda_1))
lalsim_SimInspiralWaveformParamsInsertTidalLambda2(
waveform_dictionary, lambda_2)
waveform_dictionary, float(lambda_2))
for key, value in waveform_kwargs.items():
func = getattr(lalsim, "SimInspiralWaveformParamsInsert" + key, None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment