Maintenance will be performed on,,, and tomorrow, 2020/08/04, starting at approximately 9am PDT. It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please direct any comments, questions or concerns to

Commit 3d207532 authored by Leo Pound Singer's avatar Leo Pound Singer

bayestar_plot_volume: play nice with ctrl-C

Original: 30d976610f86eb4edeb13784325d897f8d69d2d0
parent 2dd1f5ca
......@@ -29,6 +29,7 @@
#pragma GCC diagnostic pop
#include <lal/bayestar_distance.h>
#include "six.h"
#include "omp_interruptible.h"
static void conditional_pdf_loop(
......@@ -165,9 +166,12 @@ static void volume_render_loop(
/* FIXME: Check that array arguments are stored contiguously */
#pragma omp parallel for
for (npy_intp i = 0; i < n; i ++)
/* FIXME: args must be void ** to avoid alignment warnings */
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-align"
......@@ -186,6 +190,7 @@ static void volume_render_loop(
(double *) &args[10][i * steps[10]]);
#pragma GCC diagnostic pop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment