aboutsummaryrefslogtreecommitdiff
path: root/src/debug.h
diff options
context:
space:
mode:
authorPjotr Prins2018-08-30 16:19:08 +0000
committerPjotr Prins2018-08-30 16:19:08 +0000
commit5ddd1c8e54d7ac7026a689152392d70e68b77cb4 (patch)
treec1475b62827a3c686a5d979fdf285522abc1826d /src/debug.h
parentb8e755fee4856c0b84fe91396f48ff350d5ca0c5 (diff)
downloadpangemma-5ddd1c8e54d7ac7026a689152392d70e68b77cb4.tar.gz
Debugging calcPab
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debug.h b/src/debug.h
index 64ab721..a4be9f5 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -52,6 +52,9 @@ void disable_segfpe();
{ auto x = m * n; \
enforce_msg(x / m == n, "multiply integer overflow"); }
+void write(const gsl_vector *v, const char *msg);
+void write(const gsl_matrix *m, const char *msg);
+
gsl_matrix *gsl_matrix_safe_alloc(size_t rows,size_t cols);
int gsl_matrix_safe_memcpy (gsl_matrix *dest, const gsl_matrix *src);
void gsl_matrix_safe_free (gsl_matrix *v);