Hi,

in lib/src/gretl_matrix.c inside the real_gretl_dgeev function on line 9797 I'm seeing:

 if (gretl_is_null_matrix(A) || A->rows != A->cols) {
        *err = E_INVARG;
        return NULL;

leading to the user-level generic error message "invalid argument" for example for non-square matrix input into the eigen() function.

Do we have some error other than E_INVARG that we could use here to yield something a little more informative?

thanks

sven