853530_0_0_5000.cpp: In function `int main()': 853530_0_0_5000.cpp:231: error: invalid initialization of non-const reference of type 'mat&' from a temporary of type 'mat' 853530_0_0_5000.cpp:111: error: in passing argument 1 of `mat inv(mat&)'