flint
flint copied to clipboard
Initializing a `gr_mat` with -1 rows and -1 columns succeeds and allocates one entry
Probably there should be an error/crash instead, when either the number of rows or the number of columns is negative.
The same applies to (all?) other matrix types.
Or clarify in the documentation that we assume that the number of rows and columns are valid.