preprocessor: corrected missing initialization of v3 in <fname>_dynamic.c
parent
64d9a38318
commit
188ec4932d
|
@ -1224,6 +1224,7 @@ DynamicModel::writeDynamicCFile(const string &dynamic_basename) const
|
||||||
<< " v2 = mxGetPr(plhs[2]);" << endl
|
<< " v2 = mxGetPr(plhs[2]);" << endl
|
||||||
<< " }" << endl
|
<< " }" << endl
|
||||||
<< endl
|
<< endl
|
||||||
|
<< " v3 = NULL;" << endl
|
||||||
<< " if (nlhs >= 4)" << endl
|
<< " if (nlhs >= 4)" << endl
|
||||||
<< " {" << endl
|
<< " {" << endl
|
||||||
<< " /* Set the output pointer to the output matrix v3. */" << endl
|
<< " /* Set the output pointer to the output matrix v3. */" << endl
|
||||||
|
|
Loading…
Reference in New Issue