Fixed a bug in the levene test, and added the levene test to the oneway cmd
[pspp] / src / tab.c
index 8afb8f0be0e3793d85675de5dc6fd5d87867e6b2..dd901493db8765896b379cdf1d3b2e3a8a7e7fa4 100644 (file)
--- a/src/tab.c
+++ b/src/tab.c
@@ -210,6 +210,12 @@ void
 tab_headers (struct tab_table *table, int l, int r, int t, int b)
 {
   assert (table != NULL);
+  assert (l < table->nc);
+  assert (r < table->nc);
+  assert (t < table->nr);
+  assert (b < table->nr);
+
+
   table->l = l;
   table->r = r;
   table->t = t;