Skip to content
Snippets Groups Projects
Commit a23f4b7e authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Dynare++: compatibility fix for MATLAB 7.12 (R2011a)

parent b37bfeb1
Branches
Tags
No related merge requests found
......@@ -133,7 +133,7 @@ void SylvParams::setArrayNames(int& num, const char** names) const
#if defined(MATLAB_MEX_FILE) || defined(OCTAVE_MEX_FILE)
mxArray* SylvParams::DoubleParamItem::createMatlabArray() const
{
return mxCreateScalarDouble(value);
return mxCreateDoubleScalar(value);
}
mxArray* SylvParams::IntParamItem::createMatlabArray() const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment