From 5ddd1c8e54d7ac7026a689152392d70e68b77cb4 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 30 Aug 2018 16:19:08 +0000 Subject: Debugging calcPab --- src/debug.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/debug.h') 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); -- cgit v1.2.3