TC isn't much help in error reporting
| Bugzilla Link | 1102 |
| Created on | Nov 10, 2013 19:16 |
| Version | svn |
| OS | Linux |
| Architecture | PC |
| Attachments | ipddStar.sac |
Extended Description
Created an attachment (id=995) source code to reproduce fault sac2c ipddStar.sac -v1 typecheck/new_types.c:904 Assertion "(NTYPE_CON(array) == TC_aks) || (NTYPE_CON(array) == TC_akv) || (NTYPE_CON(array) == TC_akd) || (NTYPE_CON(array) == TC_audgz) || (NTYPE_CON(array) == TC_aud)" failed! TYgetScalar applied to other than array type! sac2c -V sac2c v1.00-beta (Haggis And Apple) developer rev 18410 linux-gnu_x86_64 (Sat Nov 9 16:39:54 EST 2013 by sac) The problem is in this line: Crow = plusDDD( toD( y[colx]), Crow ); plusDDD() exists, but only for scalar-scalar arguments; the code wants a vector-vector function, but it does not exist. It would be nice if it told us that.