Hi everybody.
My programm compiles withou any problem. I call a function where I want to compute the kronecker product. Inside the function KroneckerProduct everything works, there is no segfault and also the output at the end of the subfunction KroneckerProduct from the entries of C_help is right.
My problem is that I can not work with the matrix kronResult without a segfault (or in other words, the segfault seems to appear in the parameter kronResult.
It would be great if someone can find the error in the above sourcecode:
1 2 3 4 5 6 7
int main
{
...
vector < vector <double> > kronResult;
KroneckerProduct(kronResult, I, E_jj, nNodes);
...
}