aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--teukolsky_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/teukolsky_data.py b/teukolsky_data.py
index f6c78c5..2458bf7 100644
--- a/teukolsky_data.py
+++ b/teukolsky_data.py
@@ -111,7 +111,7 @@ class TeukolskyData(object):
ret = eval_func(self._tdctx, out.shape[0], c_r, c_theta,
c_diff_order, c_out, ctypes.c_long(r.shape[0]))
if ret < 0:
- raise RuntimeError('Error evaluating the variable')
+ raise RuntimeError('Error evaluating the variable: %d' % ret)
out.shape = (theta.shape[0], r.shape[0])
return out