Skip to content
Snippets Groups Projects
Commit a7bd12cf authored by Madeline Wade's avatar Madeline Wade
Browse files

Update to Debian build from Steffen's patch and bug fix in...

Update to Debian build from Steffen's patch and bug fix in gstlal_smoothkappas.c for misplaced parentheses
parent d459265f
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
gir1.2-glib-2.0,
gir1.2-gstreamer-1.0 (>= @MIN_GSTREAMER_VERSION@),
gir1.2-gst-plugins-base-1.0 (>= @MIN_GSTREAMER_VERSION@),
gst-plugins-math (>= 1.0.1),
gstlal (>= @MIN_GSTLAL_VERSION@),
gstlal-ugly (>= @MIN_GSTLALUGLY_VERSION@),
gstreamer1.0-plugins-base (>= @MIN_GSTREAMER_VERSION@),
......@@ -30,7 +31,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
gstreamer1.0-tools (>= @MIN_GSTREAMER_VERSION@),
lal (>= @MIN_LAL_VERSION@),
lalmetaio (>= @MIN_LALMETAIO_VERSION@),
libgirepository-1.0-1 (>= @MIN_GOBJECT_INTROSPECTION_VERSION@),
libgirepository-1.0-1,
libgstreamer1.0-0 (>= @MIN_GSTREAMER_VERSION@),
libgstreamer-plugins-base1.0-0 (>= @MIN_GSTREAMER_VERSION@),
python (>= @MIN_PYTHON_VERSION@),
......
......@@ -266,7 +266,7 @@ static GstFlowReturn smooth_complex_buffer_ ## DTYPE(const DTYPE complex *src, D
double new_element_re, new_element_im; \
for(i = 0; i < buffer_size; i++) { \
double complex doublesrc = (double complex) *src; \
if(gap || creal(doublesrc) > default_kappa_re + maximum_offset_re || creal(doublesrc) < default_kappa_re - maximum_offset_re || isnan(creal(doublesrc)) || isinf(creal(doublesrc) || creal(doublesrc) == 0)) { \
if(gap || creal(doublesrc) > default_kappa_re + maximum_offset_re || creal(doublesrc) < default_kappa_re - maximum_offset_re || isnan(creal(doublesrc)) || isinf(creal(doublesrc)) || creal(doublesrc) == 0) { \
if(default_to_median) \
new_element_re = *current_median_re; \
else \
......@@ -274,7 +274,7 @@ static GstFlowReturn smooth_complex_buffer_ ## DTYPE(const DTYPE complex *src, D
} else { \
new_element_re = creal(doublesrc); \
} \
if(gap || cimag(doublesrc) > default_kappa_im + maximum_offset_im || cimag(doublesrc) < default_kappa_im - maximum_offset_im || isnan(cimag(doublesrc)) || isinf(cimag(doublesrc) || cimag(doublesrc) == 0)) { \
if(gap || cimag(doublesrc) > default_kappa_im + maximum_offset_im || cimag(doublesrc) < default_kappa_im - maximum_offset_im || isnan(cimag(doublesrc)) || isinf(cimag(doublesrc)) || cimag(doublesrc) == 0) { \
if(default_to_median) \
new_element_im = *current_median_im; \
else \
......
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