X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Ftable-paste.c;h=c1054d1369baf1e5c05915edd8221004206c8ec9;hb=9019ac689db670dc09ebe7c6fcadf62a7f10cb3e;hp=b56760cd1d7a0f4b6c8b5aaa96da77902ae7cda7;hpb=b966a83ffe1ecff6a86342d2faad17a4c1a484e5;p=pspp diff --git a/src/output/table-paste.c b/src/output/table-paste.c index b56760cd1d..c1054d1369 100644 --- a/src/output/table-paste.c +++ b/src/output/table-paste.c @@ -148,6 +148,8 @@ table_paste (struct table *a, struct table *b, enum table_axis orientation) if (b == NULL) return a; + assert (a->n[!orientation] == b->n[!orientation]); + /* Handle tables that know how to paste themselves. */ if (!table_is_shared (a) && !table_is_shared (b) && a != b) {