Skip to content
Snippets Groups Projects
Commit 16ea40dd authored by Christoph Sprunk's avatar Christoph Sprunk
Browse files

fix for egsl_v2gslm (returned pointer to wrong copy of data)

parent 07ec05d4
No related branches found
No related tags found
No related merge requests found
...@@ -60,5 +60,5 @@ gsl_matrix* egsl_v2gslm(val v){ ...@@ -60,5 +60,5 @@ gsl_matrix* egsl_v2gslm(val v){
gsl_matrix * m = egsl_gslm(v); gsl_matrix * m = egsl_gslm(v);
gsl_matrix * m2 = gsl_matrix_alloc(m->size1,m->size2); gsl_matrix * m2 = gsl_matrix_alloc(m->size1,m->size2);
gsl_matrix_memcpy(m2,m); gsl_matrix_memcpy(m2,m);
return m; return m2;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment