preprocessor: corrected missing initialization of v3 in <fname>_dynamic.c

issue#70
Michel Juillard 2010-05-21 11:38:23 +02:00
parent 64d9a38318
commit 188ec4932d
1 changed files with 1 additions and 0 deletions

View File

@ -1224,6 +1224,7 @@ DynamicModel::writeDynamicCFile(const string &dynamic_basename) const
<< " v2 = mxGetPr(plhs[2]);" << endl
<< " }" << endl
<< endl
<< " v3 = NULL;" << endl
<< " if (nlhs >= 4)" << endl
<< " {" << endl
<< " /* Set the output pointer to the output matrix v3. */" << endl